summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c32322a774f35026f72609b88eb4255a8fb72848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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: