Skip to content
Snippets Groups Projects
Commit 4fabfde4 authored by Sören Tempel's avatar Sören Tempel
Browse files

main/patch: add check

parent c1a9197d
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment