blob: d8244361584213e7ddec50219521ac8e4374f2cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: Michael Mason <ms13sp@gmail.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=gawk
pkgver=4.1.0
pkgrel=0
pkgdesc="GNU awk pattern-matching language"
url="http://www.gnu.org/software/gawk/gawk.html"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-nls \
|| return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/gawk/*.la || return 1
}
md5sums="b18992ff8faf3217dab55d2d0aa7d707 gawk-4.1.0.tar.xz"
sha256sums="1804d0c7f74fe1e2d127a268d1905aaed0cb237bfb7f124d9ba6adc535143642 gawk-4.1.0.tar.xz"
sha512sums="59364fb82640c0a3d0832ad291d18c82525f400786d1609094bad343992b626eae4609a9830c77d06aa1ef2cbbf1f627a44620ebb7cafa6e945c80f4faaef65e gawk-4.1.0.tar.xz"
|