aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-05-01 16:37:25 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-04 10:32:10 +0000
commit27eb0d9103c424ba6168119d3e122abe1420393d (patch)
tree73abf2812e34b93b54a1d578285a0c9b7ce4430d
parent268f3a0125fca0dd33986c8e88059d7bf4dcc527 (diff)
downloadaports-27eb0d9103c424ba6168119d3e122abe1420393d.tar.gz
aports-27eb0d9103c424ba6168119d3e122abe1420393d.tar.bz2
aports-27eb0d9103c424ba6168119d3e122abe1420393d.tar.xz
testing/libmlocale: new aport
-rw-r--r--testing/libmlocale/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/libmlocale/APKBUILD b/testing/libmlocale/APKBUILD
new file mode 100644
index 0000000000..55d2b28a26
--- /dev/null
+++ b/testing/libmlocale/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libmlocale
+pkgver=0.7.2
+pkgrel=0
+pkgdesc="Nemo libmlocale"
+url="https://git.sailfishos.org/mer-core/libmlocale"
+arch="all"
+license="LGPL-2.1-only"
+depends_dev="libexecinfo-dev icu-dev"
+makedepends="$depends_dev qt5-qtbase-dev qt5-qttools-dev bash"
+subpackages="$pkgname-dev"
+source="https://git.sailfishos.org/mer-core/libmlocale/-/archive/$pkgver/libmlocale-$pkgver.tar.gz"
+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="6903cde728e22c77c22cbde5e4ef44110bbd3d620a78bf177c090eac3d784f14806d67599f28bf214d480fc67e6ab6c6d4c5a9bdeeb839f7d61f69c68ad4b97e libmlocale-0.7.2.tar.gz"