diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-07-07 05:20:55 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-07-07 05:20:55 +0000 |
commit | ff64a82ccedcb1690d2f0140d63432aa49676591 (patch) | |
tree | 8652e2862da57e173c2895b1529b3fe1bfad07cd /testing/gawk | |
parent | 75b1bc45a0e39074e42b6a26a9f72ac2e049bdc1 (diff) |
Thu Jul 7 05:20:55 UTC 2011
Diffstat (limited to 'testing/gawk')
-rw-r--r-- | testing/gawk/PKGBUILD | 41 | ||||
-rw-r--r-- | testing/gawk/gawk.install | 22 |
2 files changed, 0 insertions, 63 deletions
diff --git a/testing/gawk/PKGBUILD b/testing/gawk/PKGBUILD deleted file mode 100644 index a61f089c0..000000000 --- a/testing/gawk/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# $Id: PKGBUILD 130241 2011-07-04 15:07:06Z allan $ -# Maintainer: -# Contributor: Tom Newsom <Jeepster@gmx.co.uk> - -pkgname=gawk -pkgver=4.0.0 -pkgrel=1 -pkgdesc="GNU version of awk" -arch=('i686' 'x86_64') -url="http://www.gnu.org/directory/GNU/gawk.html" -license=('GPL') -groups=('base') -depends=('sh' 'glibc') -provides=('awk') -install=gawk.install -source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) -md5sums=('51e417b71287629940051e6f652c6492') - -build() { - cd ${srcdir}/${pkgname}-${pkgver} - - ./configure --prefix=/usr --libexecdir=/usr/lib - make -} - -check() { - cd ${srcdir}/${pkgname}-${pkgver} - - make -j1 check -} - -package() { - cd ${srcdir}/${pkgname}-${pkgver} - - make DESTDIR=${pkgdir} install - - install -dm755 ${pkgdir}/bin - mv ${pkgdir}/usr/bin/gawk* ${pkgdir}/bin/ - ln -sf gawk ${pkgdir}/bin/awk - ln -sf /bin/gawk ${pkgdir}/usr/bin/ -} diff --git a/testing/gawk/gawk.install b/testing/gawk/gawk.install deleted file mode 100644 index 3f7f24cfe..000000000 --- a/testing/gawk/gawk.install +++ /dev/null @@ -1,22 +0,0 @@ -infodir=usr/share/info -filelist=(gawk.info.gz gawkinet.info.gz) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file $infodir/dir 2> /dev/null - done -} - -# vim:set ts=2 sw=2 et: |