aboutsummaryrefslogtreecommitdiffstats
path: root/community/libdsme/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libdsme/APKBUILD')
-rw-r--r--community/libdsme/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/libdsme/APKBUILD b/community/libdsme/APKBUILD
new file mode 100644
index 0000000000..fe9472e45e
--- /dev/null
+++ b/community/libdsme/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=libdsme
+pkgver=0.66.6
+pkgrel=0
+pkgdesc="Libraries for programs that communicate with the Device State Management Entity"
+arch="all"
+url="https://git.sailfishos.org/mer-core/libdsme"
+license="LGPL-2.1-or-later"
+depends="
+ dbus
+ glib
+ "
+depends_dev="
+ check-dev
+ glib-dev
+ "
+makedepends="$depends_dev
+ coreutils
+ "
+subpackages="$pkgname-static $pkgname-dev"
+source="https://git.sailfishos.org/mer-core/libdsme/-/archive/$pkgver/libdsme-$pkgver.tar.gz"
+options="!check" # No suitable tests
+
+build() {
+ make
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+
+ # Create missing symlinks
+ ldconfig "$pkgdir"/usr/lib
+
+ # Remove tests
+ rm -rf "$pkgdir"/opt
+}
+sha512sums="29fe4f3b9accc200392be8450c93825cbc1aaca9558a7419f51fe0d4bdc8f7b3f9c1b8c7da1cd3f9e66cced4a7c26dd25faed9b8b990755bd4f618035e1f01f2 libdsme-0.66.6.tar.gz"