mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
685 B
Bash
28 lines
685 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
pkgname=gawk
|
|
pkgver=3.1.6
|
|
pkgrel=1
|
|
pkgdesc="Gnu version of awk"
|
|
arch=('arm')
|
|
url="http://www.gnu.org/directory/GNU/gawk.html"
|
|
license=('GPL')
|
|
groups=('base')
|
|
provides=('awk')
|
|
source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
depends=()
|
|
md5sums=('b237751aef53c9ead9644e376bc53386')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
./configure --prefix=/opt
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install
|
|
|
|
mv "${pkgdir}/opt/libexec" "${pkgdir}/opt/lib"
|
|
install -dm755 "${pkgdir}/opt/bin"
|
|
# mv ${pkgdir}/opt/bin/gawk* "${pkgdir}/bin/"
|
|
# mv ${pkgdir}/opt/bin/awk "${pkgdir}/bin/"
|
|
}
|