diff options
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 +} |