blob: 9ead372515b7d293b9cb29863149f8c81bc4af8b (
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
|
# Maintainer: zoorat <zoorat [at] protonmail [dot] com>
# Contributor: judd <jvinet@zeroflux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=mawk
pkgver=1.3.4_20240905
pkgrel=1
pkgdesc="An interpreter for the AWK Programming Language"
arch=('i686' 'x86_64')
url="http://invisible-island.net/mawk/"
license=('GPL')
depends=('glibc')
changelog="changelog.txt"
source=("https://invisible-island.net/archives/$pkgname/$pkgname-${pkgver//_/-}.tgz")
b2sums=('7c15dddeb4f7afa5a94eb6c3a1f3d84be0e6ccbb56e6ba337f44432a272fd1cf6b162ccfb520f6aeb2393b174a89ba945bb6a325c584721a2ea5b89c073851de')
build() {
cd $pkgname-${pkgver/_/-}
sed -ie 's|log()|log(1.0)|g' configure
sed -ie "s|trap *0|trap 'exit 0' 0|g" test/*
./configure
make
}
package() {
cd $pkgname-${pkgver/_/-}
install -d "$pkgdir"/usr/bin
install -d "$pkgdir"/usr/share/man/
make BINDIR="$pkgdir"/usr/bin MANDIR="$pkgdir"/usr/share/man/ install
}
|