mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 09:41:39 +01:00
community/libnumbertext: new aport
needed by libreoffice
This commit is contained in:
parent
d60cab2c22
commit
52fda09607
41
community/libnumbertext/APKBUILD
Normal file
41
community/libnumbertext/APKBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=libnumbertext
|
||||
pkgver=1.0.3
|
||||
pkgrel=0
|
||||
pkgdesc="Number to number name and money text conversion library"
|
||||
url="https://github.com/Numbertext/libnumbertext"
|
||||
arch="all"
|
||||
license="(LGPLv3+ or BSD) and (LGPLv3+ or BSD or CC-BY-SA)"
|
||||
makedepends="autoconf automake libtool"
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://github.com/Numbertext/libnumbertext/releases/download/1.0/libnumbertext-$pkgver.tar.xz"
|
||||
builddir="$srcdir/libnumbertext-$pkgver"
|
||||
|
||||
prepare() {
|
||||
cd "$builddir"
|
||||
default_prepare
|
||||
autoreconf -v --install --force
|
||||
}
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
sha512sums="0ce9c68c8d928f7c8aa13f4760360ab3077ff0923a6b34256a1ca1047b7401a7d99ac5205b80b3e57c6e693c59ccc8328e04cfebeee07794c906a1ab750a3a7a libnumbertext-1.0.3.tar.xz"
|
||||
Loading…
x
Reference in New Issue
Block a user