summaryrefslogtreecommitdiff
path: root/user/patchutils/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/patchutils/APKBUILD')
-rw-r--r--user/patchutils/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/patchutils/APKBUILD b/user/patchutils/APKBUILD
new file mode 100644
index 000000000..ac1322e2e
--- /dev/null
+++ b/user/patchutils/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=patchutils
+pkgver=0.3.4
+pkgrel=0
+pkgdesc="Programs that operate on patch files"
+url="http://cyberelk.net/tim/software/patchutils/"
+arch="all"
+license="GPL-2.0+"
+depends="diffutils"
+makedepends="xmlto"
+subpackages="$pkgname-doc"
+source="http://cyberelk.net/tim/data/patchutils/stable/patchutils-$pkgver.tar.xz"
+builddir="$srcdir/patchutils-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make -j1 check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ede006122fad180b78feaf69294f1c40c0a764981fa581f1893abeeb0421f9d586fc33f79d065690a6bc6187a31f11311b086669879dde12c6e49c7c8a2aa440 patchutils-0.3.4.tar.xz"