diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c41b5338d80c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = byacc-bison + pkgdesc = A Berkeley reimplementation of the Unix parser generator Yacc (providing bison/yacc) + pkgver = 1 + pkgrel = 1 + url = http://invisible-island.net/byacc/ + arch = any + license = custom + depends = byacc + provides = bison + conflicts = bison + +pkgname = byacc-bison + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c32322a774f3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=byacc-bison +pkgver=1 +pkgrel=1 +pkgdesc="A Berkeley reimplementation of the Unix parser generator Yacc (providing bison/yacc)" +url="http://invisible-island.net/byacc/" +arch=('any') +license=('custom') +depends=('byacc') +provides=('bison') +conflicts=('bison') +source=() + +package() { + install -d "${pkgdir}/usr/share/licenses/${pkgname}" + ln -sf /usr/share/licenses/byacc/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + install -d "${pkgdir}/usr/bin" + ln -sf /usr/bin/byacc "${pkgdir}/usr/bin/yacc" + ln -sf /usr/bin/byacc "${pkgdir}/usr/bin/bison" + + install -d "${pkgdir}/usr/share/man/man1" + ln -sf /usr/share/man/man1/byacc.1.gz "${pkgdir}/usr/share/man/man1/yacc.1.gz" + ln -sf /usr/share/man/man1/byacc.1.gz "${pkgdir}/usr/share/man/man1/bison.1.gz" +} + +# vim:set ts=2 sw=2 et: |