summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a9e99125b3e6497eb39aa8533af5f07b5aaa7441 (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
32
33
34
35
36
37
# Maintainer: Kamil Cukrowski <kamilcukrowski@gmail.com>

pkgname=libdfp
pkgver=1.0.16
pkgrel=1
pkgdesc="Decimal Floating Point C Library"
arch=(i686 x86_64)
url="https://github.com/libdfp/libdfp"
license=('GPL')
groups=()
depends=('gcc-libs')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=("https://github.com/libdfp/libdfp/releases/download/${pkgver}/libdfp-${pkgver}.tar.gz")
sha256sums=('eed54dcc9e13136fbe120bbbc2efce1f2e0f407311016c21f5c521dc302d846d')

build() {
	cd "./libdfp-${pkgver}"
	./bootstrap
	./configure --prefix=/usr
	make
}

check() {
	cd "./libdfp-${pkgver}"
	make check
}

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