diff options
Diffstat (limited to 'main/patch/APKBUILD')
-rw-r--r-- | main/patch/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/patch/APKBUILD b/main/patch/APKBUILD index a20ea4560c..8ca1d95862 100644 --- a/main/patch/APKBUILD +++ b/main/patch/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=patch pkgver=2.7.6 -pkgrel=0 +pkgrel=1 pkgdesc="Utility to apply diffs to files" url="https://www.gnu.org/software/patch/patch.html" arch="all" @@ -10,6 +10,7 @@ license="GPL" depends="" depends_dev="" makedepends="" +checkdepends="bash ed" install="" subpackages="$pkgname-doc" source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz" @@ -28,6 +29,11 @@ build() { make } +check() { + cd "$builddir" + make SHELL=bash check +} + package() { make prefix="$pkgdir"/usr \ mandir="$pkgdir"/usr/share/man \ |