summaryrefslogblamecommitdiff
path: root/user/patchutils/APKBUILD
blob: ac1322e2e3d07c97418fca8edded892bebef169a (plain) (tree)





































                                                                                                                                                                      
# 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"