summaryrefslogtreecommitdiff
path: root/user/pax/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/pax/APKBUILD')
-rw-r--r--user/pax/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/pax/APKBUILD b/user/pax/APKBUILD
new file mode 100644
index 000000000..edd736e5c
--- /dev/null
+++ b/user/pax/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=pax
+pkgver=20161104
+pkgrel=0
+pkgdesc="Portable Archive eXchange, the POSIX archival tool"
+url="https://www.mirbsd.org/pax.htm"
+arch="all"
+license="BSD"
+depends=""
+depends_dev="libbsd-dev fts-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://ftp.debian.org/debian/pool/main/p/$pkgname/${pkgname}_$pkgver.orig.tar.xz"
+builddir="$srcdir/$pkgname"
+
+build() {
+ cd "$builddir"
+ ${CC} ${CPPFLAGS} ${CFLAGS} \
+ -DHAVE_STRLCPY -DHAVE_VIS -DHAVE_STRMODE -DLONG_OFF_T -DHAVE_LINKAT \
+ $(pkgconf --cflags libbsd) \
+ -Wall ${LDFLAGS} *.c -o $pkgname $(pkgconf --libs libbsd) $(pkgconf --libs fts)
+}
+
+package() {
+ cd "$builddir"
+}
+
+sha512sums="4ca17a412fde5c0de3ff9820a9a5c7e210e015ccddcc791f0c0936f45471dbbe1e96a97515e65d21e5d36a61b14e920eb3a9181ffeabad801663c812ee084c15 pax_20161104.orig.tar.xz"