From a41f2cf1ee6847bcdb30b6668ab5bfde08e3511f Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 14 Apr 2019 17:27:36 +0200 Subject: pcr: Add kiwix-tools This was build-tested on i686. Signed-off-by: Denis 'GNUtoo' Carikli --- pcr/kiwix-tools/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pcr/kiwix-tools/PKGBUILD (limited to 'pcr') 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 + +# 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 +} -- cgit v1.2.3