[arch-commits] Commit in nawk/repos (extra-i686/PKGBUILD extra-x86_64/PKGBUILD)

Dave Reisner dreisner at archlinux.org
Sun Nov 13 10:20:01 EST 2011


    Date: Sunday, November 13, 2011 @ 10:20:01
  Author: dreisner
Revision: 142713

svn cp PKGBUILDs to repos

apparently devtools didn't do this for me...

Added:
  nawk/repos/extra-i686/PKGBUILD
  nawk/repos/extra-x86_64/PKGBUILD

-----------------------+
 extra-i686/PKGBUILD   |   29 +++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   29 +++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

Added: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2011-11-13 15:20:01 UTC (rev 142713)
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 142711 2011-11-13 14:58:31Z dreisner $
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=nawk
+pkgver=20110810
+pkgrel=3
+pkgdesc="The one, true implementation of AWK"
+url="http://cm.bell-labs.com/who/bwk/"
+license=('MIT')
+arch=('i686' 'x86_64')
+options=('!makeflags')
+depends=('glibc')
+source=("http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz"
+        'manpage-naming.patch')
+md5sums=('a7062ecade93dc4cb39190e48db9a51d'
+         '8486d387a51fe3b3c9875c4151ad92b4')
+
+build() {
+  patch -Np1 < manpage-naming.patch
+  sed -n '/Copyright/,/THIS SOFTWARE\./p' README > LICENSE
+
+  make "CPPFLAGS=-DHAS_ISBLANK" "LDFLAGS=$LDFLAGS" "CFLAGS=$CFLAGS"
+}
+
+package() {
+  install -Dm755 a.out "$pkgdir/usr/bin/nawk"
+  install -Dm644 awk.1 "$pkgdir/usr/share/man/man1/nawk.1"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/nawk/LICENSE"
+}

Added: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-11-13 15:20:01 UTC (rev 142713)
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 142711 2011-11-13 14:58:31Z dreisner $
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+
+pkgname=nawk
+pkgver=20110810
+pkgrel=3
+pkgdesc="The one, true implementation of AWK"
+url="http://cm.bell-labs.com/who/bwk/"
+license=('MIT')
+arch=('i686' 'x86_64')
+options=('!makeflags')
+depends=('glibc')
+source=("http://www.cs.princeton.edu/~bwk/btl.mirror/awk.tar.gz"
+        'manpage-naming.patch')
+md5sums=('a7062ecade93dc4cb39190e48db9a51d'
+         '8486d387a51fe3b3c9875c4151ad92b4')
+
+build() {
+  patch -Np1 < manpage-naming.patch
+  sed -n '/Copyright/,/THIS SOFTWARE\./p' README > LICENSE
+
+  make "CPPFLAGS=-DHAS_ISBLANK" "LDFLAGS=$LDFLAGS" "CFLAGS=$CFLAGS"
+}
+
+package() {
+  install -Dm755 a.out "$pkgdir/usr/bin/nawk"
+  install -Dm644 awk.1 "$pkgdir/usr/share/man/man1/nawk.1"
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/nawk/LICENSE"
+}



More information about the arch-commits mailing list