aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-07-17 00:19:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-07-18 18:46:20 +0000
commit4f570678c05e599c5791ee22d8c9c066bfb99d7d (patch)
treee2e9fad47a7a3146d3e8719a51faf66f39a4d1d4
parent136b95031bf33605a66fce0b5b010633fb1a6b55 (diff)
downloadaports-4f570678c05e599c5791ee22d8c9c066bfb99d7d.tar.gz
aports-4f570678c05e599c5791ee22d8c9c066bfb99d7d.tar.bz2
aports-4f570678c05e599c5791ee22d8c9c066bfb99d7d.tar.xz
main/patchutils: upgrade to 0.4.2
-rw-r--r--main/patchutils/APKBUILD33
1 files changed, 12 insertions, 21 deletions
diff --git a/main/patchutils/APKBUILD b/main/patchutils/APKBUILD
index 5f6c7cbfab..e166122c10 100644
--- a/main/patchutils/APKBUILD
+++ b/main/patchutils/APKBUILD
@@ -1,31 +1,20 @@
+# 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"