blob: 9c84905f8ea34fb872f1fd42f1873abe4d00d17f (
plain) (
blame)
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
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mawk
pkgver=1.3.4.20190203
pkgrel=0
pkgdesc="Pattern scanning and text processing language"
url="https://invisible-island.net/mawk/mawk.html"
arch="all"
license="BSD-3-Clause"
subpackages="$pkgname-doc"
_dlver="${pkgver%.*}-${pkgver##*.}"
source="https://invisible-mirror.net/archives/$pkgname/$pkgname-$_dlver.tgz"
builddir="$srcdir/$pkgname-$_dlver"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
package() {
make DESTDIR="$pkgdir" install
ln -s mawk "$pkgdir"/usr/bin/awk
}
check() {
make check
}
sha512sums="64d5b1838d34d30e32966f46cb7457c865caccfe9fe1049d2645ba301b1ddb4efc18588115dbcf96234a2a0b791211a7f82264a3c81899459dc3029e65837646 mawk-1.3.4-20190203.tgz"
|