Commit 4f570678 authored by Leo's avatar Leo

main/patchutils: upgrade to 0.4.2

parent 136b9503
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=patchutils
pkgver=0.3.4
pkgrel=1
pkgver=0.4.2
pkgrel=0
pkgdesc="A collection of programs for manipulating patch files"
options="!check" # 6 tests fail
url="http://cyberelk.net/tim/patchutils/"
arch="all"
license="GPL-2.0-or-later"
depends="perl"
makedepends="xmlto"
options="!check" # No test suite.
subpackages="$pkgname-doc"
source="http://cyberelk.net/tim/data/patchutils/stable/patchutils-$pkgver.tar.xz"
_builddir="$srcdir"/patchutils-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -33,14 +22,16 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
--localstatedir=/var
make
}
check() {
make check
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
}
sha512sums="ede006122fad180b78feaf69294f1c40c0a764981fa581f1893abeeb0421f9d586fc33f79d065690a6bc6187a31f11311b086669879dde12c6e49c7c8a2aa440 patchutils-0.3.4.tar.xz"
sha512sums="20970d52fd43c09dc7799297b9a9eb6f60ba29ecc750d49381a2dc52273dfe484a47696cddd541f623394fa3486734cf337297cbeab6b1b244511c7740f46897 patchutils-0.4.2.tar.xz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment