[arch-commits] Commit in (byacc byacc/repos byacc/trunk byacc/trunk/PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Tue Jul 28 16:37:28 UTC 2015


    Date: Tuesday, July 28, 2015 @ 18:37:28
  Author: anthraxx
Revision: 137555

addpkg byacc 20150711-2

Added:
  byacc/
  byacc/repos/
  byacc/trunk/
  byacc/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Added: byacc/trunk/PKGBUILD
===================================================================
--- byacc/trunk/PKGBUILD	                        (rev 0)
+++ byacc/trunk/PKGBUILD	2015-07-28 16:37:28 UTC (rev 137555)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Jens Adam <jra at byte.cx>
+# Contributor: Abel Stern <abel.stern AT gmail.com>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+
+pkgname=byacc
+pkgver=20150711
+pkgrel=2
+pkgdesc="A Berkeley reimplementation of the Unix parser generator Yacc"
+url="http://invisible-island.net/byacc/"
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('glibc')
+replaces=('byacc-noconflict')
+source=(${pkgname}-${pkgver}.tgz::ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz{,.asc})
+sha512sums=('348558046acca31a39e8df480ae4c46ad03a1b073a51877a8981914bce65e8922e83e14c45eecd0e122c9d3d018cd4b6ab8c7f29b8dbfa13d648f2f86104a4e9'
+            'SKIP')
+validpgpkeys=('C52048C0C0748FEE227D47A2702353E0F7E48EDB') # Thomas Dickey <dickey at invisible-island.net>
+
+build() {
+  cd ${pkgname}-${pkgver}
+  sed -n '/is distributed/,/distributed freely/p' README > LICENSE
+  ./configure --prefix=/usr --mandir=/usr/share/man --program-transform=s,^,b,
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list