aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/byacc/APKBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/byacc/APKBUILD b/main/byacc/APKBUILD
index 7bc0c42a72..cdba5c79f8 100644
--- a/main/byacc/APKBUILD
+++ b/main/byacc/APKBUILD
@@ -1,10 +1,11 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
pkgver=20170709
-pkgrel=0
+pkgrel=1
pkgdesc="The Berkeley Yacc general-purpose parser generator"
url="http://invisible-island.net/byacc/byacc.html"
arch="all"
+options="!checkroot"
license="Public-Domain"
depends="!bison"
subpackages="$pkgname-doc"
@@ -23,6 +24,11 @@ build() {
make
}
+check() {
+ cd "$builddir"
+ make check
+}
+
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install