aboutsummaryrefslogtreecommitdiff
path: root/libplist/Pkgfile
diff options
context:
space:
mode:
authorJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
committerJay Lanagan <j@lngn.net>2025-09-29 09:51:28 -0400
commit9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch)
tree883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /libplist/Pkgfile
parentab119e4809a15d37522b7aea45d55911f8d43ac9 (diff)
downloadcrux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz
crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip
xfce4: initial migration
Diffstat (limited to 'libplist/Pkgfile')
-rw-r--r--libplist/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/libplist/Pkgfile b/libplist/Pkgfile
new file mode 100644
index 0000000..fc9a2b8
--- /dev/null
+++ b/libplist/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Library handling Apple property list files
+# URL: https://libimobiledevice.org
+# Maintainer: Jay Lanagan, j at lngn dot net
+# Depends on: python3-cython
+
+name=libplist
+version=2.7.0
+release=1
+source=(https://github.com/libimobiledevice/$name/releases/download/$version/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ # seems to fail on some platforms without setting python during build
+ export PYTHON="/usr/bin/python3"
+ ./configure \
+ --prefix=/usr
+
+ make
+ make DESTDIR=$PKG install
+
+ find $PKG/usr/lib/* -name "*.la" -type f|xargs rm -f
+}