aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-05-01 15:59:59 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-04 10:32:09 +0000
commitda0281391598b1671554e8521ee82e02dd9e8792 (patch)
tree2b788f5e39903d9deb11c53e9b99b2a6a187ccec
parentcff9645482974b6d2a384f2f9c13e8a74ab81c4b (diff)
downloadaports-da0281391598b1671554e8521ee82e02dd9e8792.tar.gz
aports-da0281391598b1671554e8521ee82e02dd9e8792.tar.bz2
aports-da0281391598b1671554e8521ee82e02dd9e8792.tar.xz
testing/libngf: new aport
-rw-r--r--testing/libngf/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libngf/APKBUILD b/testing/libngf/APKBUILD
new file mode 100644
index 0000000000..8e40cf7462
--- /dev/null
+++ b/testing/libngf/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libngf
+pkgver=0.27
+pkgrel=0
+pkgdesc="Nemo's libngf"
+url="https://git.sailfishos.org/mer-core/libngf"
+arch="all"
+license="LGPL-2.1-or-later"
+depends_dev="glib-dev dbus-dev dbus-glib-dev check-dev"
+makedepends="$depends_dev automake autoconf libtool"
+subpackages="$pkgname-dev"
+source="https://git.sailfishos.org/mer-core/libngf/-/archive/$pkgver/libngf-$pkgver.tar.gz"
+options="!check" # No suitable tests
+
+prepare() {
+ default_prepare
+
+ ./autogen.sh
+}
+
+build() {
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+
+ # Remove tests
+ rm -rf "$pkgdir"/opt
+}
+
+sha512sums="f4577e3d203491487e287ff5d8de6df5076f8c92780ca5e416464a524353943845b5aaf0e6049a5ec427b8b5bc9717300bcdc8ec6923f082416e099440ad65f3 libngf-0.27.tar.gz"