summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c36592fdeeac6bb6c8d04f25590bf63c8fda7d5a (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-errno
_project=gawkextlib
pkgver=1.1.1
pkgrel=3
pkgdesc="GAWK extension - convert errno values to strings and vice versa"
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=('503ade34970a4d687b6cc00ea79ac045')
sha256sums=('95851395247868ebd8d2f934f160b57753ef28fdd4a547b4665166f4325675c4')

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
}