aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-05-01 15:54:10 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-04 10:32:09 +0000
commit5b4253ecc2cbb259c1abc71c4c6a3c6cf25d3606 (patch)
treee5f941f476d95f63e2b1d8559c22b43920898cf7
parentb600e07c9cf94e29e35a6c56c1fc497c87f78937 (diff)
downloadaports-5b4253ecc2cbb259c1abc71c4c6a3c6cf25d3606.tar.gz
aports-5b4253ecc2cbb259c1abc71c4c6a3c6cf25d3606.tar.bz2
aports-5b4253ecc2cbb259c1abc71c4c6a3c6cf25d3606.tar.xz
testing/libiphb: new aport
-rw-r--r--testing/libiphb/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libiphb/APKBUILD b/testing/libiphb/APKBUILD
new file mode 100644
index 0000000000..590c22acf0
--- /dev/null
+++ b/testing/libiphb/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libiphb
+pkgver=1.2.5
+pkgrel=0
+pkgdesc="Nemo's libiphb"
+url="https://git.sailfishos.org/mer-core/libiphb"
+arch="all"
+license="LGPL-2.1-or-later"
+depends_dev="glib-dev dbus-dev dbus-glib-dev mce-dev libdsme-dev"
+makedepends="$depends_dev libtool automake autoconf"
+subpackages="$pkgname-dev"
+source="https://git.sailfishos.org/mer-core/libiphb/-/archive/$pkgver/libiphb-$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="e870532bb698c774eda4b644b611a7fbc650d9680682ac680845c3749dab8d5774d8596dd3d0ce76190a3786d3f54d3ecab8997fcc23cd843da882690783259b libiphb-1.2.5.tar.gz"