From 639d3b75aed2389bad5ac33ea60b8f891cfab00e Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 18 Nov 2018 03:11:00 +0000 Subject: user/patchutils: new package --- user/patchutils/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 user/patchutils/APKBUILD (limited to 'user/patchutils/APKBUILD') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2