summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d862003acadc60340c523c29200cf7a53d6b126 (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-mpfr
_project=gawkextlib
pkgver=1.1.0
pkgrel=5
pkgdesc="GAWK extension - interface to the MPFR library"
arch=('x86_64')
url="https://sourceforge.net/projects/gawkextlib/"
license=('GPL-3.0-or-later')
depends=('gawkextlib' 'glibc' 'gmp' 'mpfr')
source=("https://downloads.sourceforge.net/$_project/$pkgname-$pkgver.tar.gz")
md5sums=('c696a6373c093eff7841c3962ca21676')
sha256sums=('295d9e83fdca0703f74c3de58b387317a7b6d1a5b3d45104aee2d279e5676d10')

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
}