aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/byacc/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/main/byacc/APKBUILD b/main/byacc/APKBUILD
index fc88cc514a..ae8f58d216 100644
--- a/main/byacc/APKBUILD
+++ b/main/byacc/APKBUILD
@@ -1,35 +1,31 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=byacc
-pkgver=20170430
+pkgver=20170709
pkgrel=0
pkgdesc="The Berkeley Yacc general-purpose parser generator"
url="http://invisible-island.net/byacc/byacc.html"
arch="all"
license="Public Domain"
depends="!bison"
-depends_dev=""
-makedepends=""
-install=""
subpackages="$pkgname-doc"
source="ftp://invisible-island.net/$pkgname/$pkgname-${pkgver}.tgz"
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="62cb0d0c0465a2f16f7dec4429c18434840e75efdb5f413efe58c2d2283fb86ec42ce834179d084a1c25340e008167247a512c248d7cfdf16f06c2d6df21d3b0 byacc-20170430.tgz"
+sha512sums="81b6e2dfe674d7e7650e1583c46f67e20cc5ff56b06ef73a54ec2070abd7f4af1a0db7909f31264d0e6157acd3661c19c3478e06c9bab395f53d0371bc1e9097 byacc-20170709.tgz"