aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmlocale/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libmlocale/APKBUILD')
-rw-r--r--community/libmlocale/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/libmlocale/APKBUILD b/community/libmlocale/APKBUILD
new file mode 100644
index 0000000000..2da6c1342b
--- /dev/null
+++ b/community/libmlocale/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libmlocale
+pkgver=0.7.4
+pkgrel=0
+pkgdesc="Nemo libmlocale"
+url="https://git.sailfishos.org/mer-core/libmlocale"
+arch="all"
+license="LGPL-2.1-only"
+depends_dev="
+ icu-dev
+ libexecinfo-dev
+ "
+makedepends="$depends_dev
+ bash
+ qt5-qtbase-dev
+ qt5-qttools-dev
+ "
+subpackages="$pkgname-dev"
+source="https://git.sailfishos.org/mer-core/libmlocale/-/archive/$pkgver/libmlocale-$pkgver.tar.gz
+ disable-werror.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"