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

pkgname=gawk-select
_project=gawkextlib
pkgver=1.1.4
pkgrel=2
pkgdesc="GAWK extension - supports I/O multiplexing and signal trapping"
arch=('x86_64')
url="https://sourceforge.net/projects/gawkextlib/"
license=('GPL-3.0-or-later')
depends=('gawkextlib' 'glibc')
source=("https://downloads.sourceforge.net/$_project/$pkgname-$pkgver.tar.gz")
md5sums=('c2ec792dbd81edb1562ada8a56e603c5')
sha256sums=('35fbaf4180851c9230dc2fa5272b669d77842ee4bfedbbdbb534e92219f99bcd')

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
}