summaryrefslogtreecommitdiff
path: root/user/libnumbertext/APKBUILD
blob: 9d1302bc6152f4366409cdfee42b7d8b6ad28474 (plain) (blame)
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
# Contributor: Max Rees <maxcrees@me.com>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=libnumbertext
pkgver=1.0.5
pkgrel=0
pkgdesc="Number to number name and money text conversion libraries"
url="https://numbertext.github.io"
arch="all"
options="!check"  # No test suite for the C++ library.
license="(BSD-3-Clause OR LGPL-3.0+) AND (CC-BY-SA-3.0 OR LGPL-3.0+ OR BSD-3-Clause)"
depends=""
makedepends=""
subpackages="$pkgname-dev"
source="https://github.com/Numbertext/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-werror
	make
}

package() {
	make DESTDIR="$pkgdir" install
	make DESTDIR="$pkgdir" -C data install
}

sha512sums="4d61464f26f631d272ef7285fbb931d3931b08240b58166b7e9a28c95ff5a537ca04af4c9673541b73997339d66061858c9cd18873b4c16f9ad2ccd1b68e81a3  libnumbertext-1.0.5.tar.xz"