mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
removed core/gawk
This commit is contained in:
parent
d4a96b7664
commit
ac527e28ce
2 changed files with 0 additions and 68 deletions
|
@ -1,46 +0,0 @@
|
||||||
# $Id: PKGBUILD 142109 2011-11-05 10:13:54Z tpowa $
|
|
||||||
# Maintainer:
|
|
||||||
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
|
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
||||||
# - rebuild for libsigsegv, remove when bumped upstream
|
|
||||||
|
|
||||||
plugrel=1
|
|
||||||
|
|
||||||
pkgname=gawk
|
|
||||||
pkgver=4.0.0
|
|
||||||
pkgrel=2.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/
|
|
||||||
}
|
|
|
@ -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:
|
|
Loading…
Reference in a new issue