[arch-commits] Commit in kiwix-tools/repos (2 files)
Justin Kromlinger
hashworks at archlinux.org
Sun Aug 30 07:50:36 UTC 2020
Date: Sunday, August 30, 2020 @ 07:50:36
Author: hashworks
Revision: 692433
archrelease: copy trunk to community-x86_64
Added:
kiwix-tools/repos/community-x86_64/
kiwix-tools/repos/community-x86_64/PKGBUILD
(from rev 692431, kiwix-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: kiwix-tools/repos/community-x86_64/PKGBUILD (from rev 692431, kiwix-tools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-08-30 07:50:36 UTC (rev 692433)
@@ -0,0 +1,30 @@
+# Maintainer: hashworks <mail at hashworks.net>
+pkgname=kiwix-tools
+pkgver=3.1.2
+pkgrel=5
+pkgdesc="kiwix command line tools"
+license=('GPL3')
+arch=('armv7h' 'i686' 'x86_64')
+replaces=('kiwix-cli-git')
+depends=('kiwix-lib')
+makedepends=('meson')
+url='https://github.com/kiwix/kiwix-tools'
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=(86325ec31976d40357f08c520806cf223fa1b0a5edb02ad106c2a0d6746ca364)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ arch-meson build
+ ninja -C build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}/build"
+ ninja meson-test
+}
+
+package() {
+ install -Dm644 "${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ cd "${pkgname}-${pkgver}/build"
+ DESTDIR="${pkgdir}" ninja install
+}
More information about the arch-commits
mailing list