summaryrefslogtreecommitdiff
path: root/user/libplist/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-25 06:13:29 -0800
committerA. Wilcox <awilcox@wilcox-tech.com>2023-11-27 09:59:05 +0000
commit80b0bc5330b5b76f9d6f1801b13a81bcd0549177 (patch)
tree7ef7fd55219a45bbbe3d4b8cdd138ddc800e92d3 /user/libplist/APKBUILD
parentaf60b310151c8d4d9cd0aa4db46ca87be2c6131e (diff)
downloadpackages-80b0bc5330b5b76f9d6f1801b13a81bcd0549177.tar.gz
packages-80b0bc5330b5b76f9d6f1801b13a81bcd0549177.tar.bz2
packages-80b0bc5330b5b76f9d6f1801b13a81bcd0549177.tar.xz
packages-80b0bc5330b5b76f9d6f1801b13a81bcd0549177.zip
user/libplist: new package
Diffstat (limited to 'user/libplist/APKBUILD')
-rw-r--r--user/libplist/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/libplist/APKBUILD b/user/libplist/APKBUILD
new file mode 100644
index 000000000..4e20b3bc0
--- /dev/null
+++ b/user/libplist/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=libplist
+pkgver=2.3.0
+pkgrel=0
+pkgdesc="Library for working with plist files"
+url="https://libimobiledevice.org/"
+arch="all"
+license="LGPL-2.1+ AND MIT"
+depends=""
+makedepends="python3-dev py3-cython"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://github.com/libimobiledevice/libplist/releases/download/$pkgver/libplist-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f2c89b72116a12d516a690dca583eed68fee53510ed461284d6f2840e99431ae406c66abd6758247b659151f1f5decf7189d3fd28f6fa5f076003c800ee2dbc3 libplist-2.3.0.tar.bz2"