diff options
Diffstat (limited to 'community/libmlocale/APKBUILD')
-rw-r--r-- | community/libmlocale/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/libmlocale/APKBUILD b/community/libmlocale/APKBUILD new file mode 100644 index 00000000000..a53bc7200b2 --- /dev/null +++ b/community/libmlocale/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=libmlocale +pkgver=0.7.4 +pkgrel=9 +pkgdesc="Nemo libmlocale" +url="https://github.com/sailfishos/libmlocale" +arch="all" +license="LGPL-2.1-only" +depends_dev=" + icu-dev + " +makedepends="$depends_dev + bash + qt5-qtbase-dev + qt5-qttools-dev + " +subpackages="$pkgname-dev" +source="https://github.com/sailfishos/libmlocale/archive/$pkgver/libmlocale-$pkgver.tar.gz + disable-werror.patch + no-execinfo.patch + " +options="!check" # No suitable tests + +build() { + QTDIR=/usr/lib/qt5 ./configure \ + --prefix=/usr \ + --sysconfdir=/etc + make +} + +package() { + INSTALL_ROOT="$pkgdir" make install + + # Remove tests + rm -rf "$pkgdir"/opt +} + +sha512sums=" +e45773e6cba4f4dfdfcf5d51f824014cbfc901b9e2ec4f1dcf7780f37cc4fd8d4e7a992eb7b30d22f38961d8f6c4ce3d881318afb44256fd85cfeea6f1ff4fe4 libmlocale-0.7.4.tar.gz +9c0b177d9f8698d0c5733c5bc16b47d114e3d705f134df074b20d1abe5326bdda59a1a21eb9045342899883ba933d566060237b8d14260b0cfef846a533cc3fc disable-werror.patch +4eb6f4c6b0201f206208c0c311544765fe1de6abbafd77f3f1917d04a504af967896367daf292fe3b002316fc77e2dee3731059682499e1c7b4918a840680875 no-execinfo.patch +" |