summaryrefslogtreecommitdiff
path: root/user/patchutils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 03:11:00 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 03:11:00 +0000
commit639d3b75aed2389bad5ac33ea60b8f891cfab00e (patch)
tree30fef9add32c1ca274fa4d8665c1b16aef620960 /user/patchutils/APKBUILD
parent7acffc1bd7724bc0e22baa5d6ed0af1c1a4b1dc8 (diff)
downloadpackages-639d3b75aed2389bad5ac33ea60b8f891cfab00e.tar.gz
packages-639d3b75aed2389bad5ac33ea60b8f891cfab00e.tar.bz2
packages-639d3b75aed2389bad5ac33ea60b8f891cfab00e.tar.xz
packages-639d3b75aed2389bad5ac33ea60b8f891cfab00e.zip
user/patchutils: new package
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"