blob: db0c4ab2a269dfbc342890669338f7d7d987d12e (
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
38
39
40
41
42
43
44
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=gawk-git
pkgver=5.2.1.r271.gc71ae933
pkgrel=1
pkgdesc="GNU version of awk"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/gawk/"
license=('GPL3')
depends=('glibc' 'mpfr')
makedepends=('git')
provides=("gawk=$pkgver" 'awk')
conflicts=('gawk')
source=("git+https://git.savannah.gnu.org/git/gawk.git")
sha256sums=('SKIP')
pkgver() {
cd "gawk"
git describe --long --tags | sed 's/^gawk-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "gawk"
./bootstrap.sh
./configure \
--prefix="/usr" \
--without-libsigsegv
make
}
check() {
cd "gawk"
make check
}
package() {
cd "gawk"
make DESTDIR="$pkgdir" install
}
|