summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a1e7c1432dc38376aaa88ae9e7aa82169a8dd68 (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
# Maintainer: Patrick McCarty <pnorcks at gmail dot com>

pkgname=gawk-abort
_project=gawkextlib
pkgver=1.0.1
pkgrel=5
pkgdesc="GAWK extension - implements the abort API"
arch=('x86_64')
url="https://sourceforge.net/projects/gawkextlib/"
license=('GPL-3.0-or-later')
depends=('glibc')
makedepends=('gawkextlib')
source=("https://downloads.sourceforge.net/$_project/$pkgname-$pkgver.tar.gz")
md5sums=('6b5a723a98b76c0197e026aab68534eb')
sha256sums=('61a007421159607131d0b7d730948b696db2d03694bac40eb54265a5c9c023b5')

build() {
  cd "$pkgname-$pkgver"
  ./configure --prefix=/usr --enable-silent-rules
  make
}

check() {
  cd "$pkgname-$pkgver"
  make -k check
}

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}