summaryrefslogtreecommitdiff
path: root/user/libnumbertext/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-03-15 20:00:39 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-03-15 20:00:39 +0000
commit88d39bd86ba879437ef28ea2c936dc13617b8774 (patch)
treee082629558e2f17be1d8d8e5489c0dab3c449e7a /user/libnumbertext/APKBUILD
parent6e61738144a4ddd8743afe561c789ccbc6634467 (diff)
parente5e7f2a7e60e60c88d9f53b16b6bda81a2e4b6f9 (diff)
downloadpackages-88d39bd86ba879437ef28ea2c936dc13617b8774.tar.gz
packages-88d39bd86ba879437ef28ea2c936dc13617b8774.tar.bz2
packages-88d39bd86ba879437ef28ea2c936dc13617b8774.tar.xz
packages-88d39bd86ba879437ef28ea2c936dc13617b8774.zip
Merge branch 'libreoffice-6.2' into 'master'
Upgrade LibreOffice to 6.2 and upgrade some of its dependencies See merge request !197
Diffstat (limited to 'user/libnumbertext/APKBUILD')
-rw-r--r--user/libnumbertext/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/libnumbertext/APKBUILD b/user/libnumbertext/APKBUILD
new file mode 100644
index 000000000..38bbb096c
--- /dev/null
+++ b/user/libnumbertext/APKBUILD
@@ -0,0 +1,35 @@
+# 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
+
+ cd data
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="4d61464f26f631d272ef7285fbb931d3931b08240b58166b7e9a28c95ff5a537ca04af4c9673541b73997339d66061858c9cd18873b4c16f9ad2ccd1b68e81a3 libnumbertext-1.0.5.tar.xz"