summaryrefslogtreecommitdiff
path: root/user/patchutils/APKBUILD
blob: eabb8278891f338075168d09688b08fda5e1b12e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make -j1 check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="ede006122fad180b78feaf69294f1c40c0a764981fa581f1893abeeb0421f9d586fc33f79d065690a6bc6187a31f11311b086669879dde12c6e49c7c8a2aa440  patchutils-0.3.4.tar.xz"