summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c35f7df9b4e7066d6de898a2842fd442fa142cd6 (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-nl_langinfo
_project=gawkextlib
pkgver=1.1.0
pkgrel=5
pkgdesc="GAWK extension - provides access to nl_langinfo(3)"
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=('07f50eb32e24b14826fc063813846d97')
sha256sums=('3d8a208b9e180be5ff287bd41002cdf38ee859083a0b4e7315c1568f05054b28')

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
}