Date: Friday, July 29, 2022 @ 19:21:57 Author: ainola Revision: 1259114
archrelease: copy trunk to community-staging-x86_64 Added: byacc/repos/community-staging-x86_64/ byacc/repos/community-staging-x86_64/PKGBUILD (from rev 1259113, byacc/trunk/PKGBUILD) byacc/repos/community-staging-x86_64/keys/ ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: byacc/repos/community-staging-x86_64/PKGBUILD (from rev 1259113, byacc/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2022-07-29 19:21:57 UTC (rev 1259114) @@ -0,0 +1,40 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Jaroslav Lichtblau <dragonl...@aur.archlinux.org> +# Contributor: Jens Adam <j...@byte.cx> +# Contributor: Abel Stern <abel.stern AT gmail.com> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: mysta + +pkgname=byacc +pkgver=20220128 +pkgrel=1 +pkgdesc='Berkeley reimplementation of the Unix parser generator Yacc' +url='https://invisible-island.net/byacc/' +arch=('x86_64') +license=('custom') +depends=('glibc') +replaces=('byacc-noconflict') +source=(https://invisible-mirror.net/archives/${pkgname}/${pkgname}-${pkgver}.tgz{,.asc}) +sha512sums=('e8ae4c56f5be4cc0ef1d281c43f02c6296fdc40f630269f2a61af511f270ae059ad185b9718190b8133018f7b74b7ca6f84ced5d63a359960b52ea2a3ef562ea' + 'SKIP') +validpgpkeys=('19882D92DDA4C400C22C0D56CC2AF4472167BE03') # Thomas Dickey <dic...@his.com> + +build() { + cd ${pkgname}-${pkgver} + sed -n '/is distributed/,/distributed freely/p' README > LICENSE + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --program-transform=s,^,b, \ + --enable-btyacc + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}" + install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim:set ts=2 sw=2 et: