aboutsummaryrefslogtreecommitdiffstats
path: root/main/byacc
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-07-11 03:02:48 -0300
committerTimo Teräs <timo.teras@iki.fi>2017-07-12 08:12:39 +0000
commit3453183c3d77ce4f256848e1d6e02e68c2b23f42 (patch)
treeeba0f3e1418bbed2ae28762dbacc3133cf406603 /main/byacc
parent8c9c8a20b13245f0ff6a2d22e86f8b3fa95d6ba8 (diff)
downloadaports-3453183c3d77ce4f256848e1d6e02e68c2b23f42.tar.bz2
aports-3453183c3d77ce4f256848e1d6e02e68c2b23f42.tar.xz
main/byacc: upgrade to 20170709
Diffstat (limited to 'main/byacc')
-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"