diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-04-14 17:27:36 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-06-21 01:32:53 +0200 |
commit | a41f2cf1ee6847bcdb30b6668ab5bfde08e3511f (patch) | |
tree | cb808c8cd33c3a61975ab1f2eaa12fa59a167ae4 /pcr | |
parent | 8a2bf347f1f379ea2af726cf74e01cd8f7758d9a (diff) | |
download | abslibre-a41f2cf1ee6847bcdb30b6668ab5bfde08e3511f.tar.gz abslibre-a41f2cf1ee6847bcdb30b6668ab5bfde08e3511f.tar.bz2 abslibre-a41f2cf1ee6847bcdb30b6668ab5bfde08e3511f.zip |
pcr: Add kiwix-tools
This was build-tested on i686.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/kiwix-tools/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/kiwix-tools/PKGBUILD b/pcr/kiwix-tools/PKGBUILD new file mode 100644 index 000000000..a84e13919 --- /dev/null +++ b/pcr/kiwix-tools/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer (AUR): hashworks <mail@hashworks.net> + +# parabola changes and rationale: +# - Added armv7h and i686 support +# - Fixed architecture + +pkgname=kiwix-tools +pkgver=2.0.0 +pkgrel=1 +pkgdesc="kiwix command line tools" +license=('GPL3') +arch=('armv7h' 'i686' 'x86_64') +replaces=('kiwix-cli-git') +depends=('kiwix-lib>=5.1.0' 'libmicrohttpd') +makedepends=('meson') +url='https://github.com/kiwix/kiwix-tools' +source=("https://github.com/kiwix/kiwix-tools/archive/${pkgver}.tar.gz") +sha256sums=(d80b3ac46e37d0ead9fe9e4f2d07d808ad2df2e104180a9e2fc5eeaf33a0d272) + +build() { + cd "${pkgname}-${pkgver}" + arch-meson build + ninja -C build +} + +check() { + cd "${pkgname}-${pkgver}/build" + ninja meson-test +} + +package() { + cd "${pkgname}-${pkgver}/build" + DESTDIR="${pkgdir}" ninja install +} |