[arch-commits] Commit in (4 files)

Justin Kromlinger hashworks at archlinux.org
Sun Aug 30 07:46:33 UTC 2020


    Date: Sunday, August 30, 2020 @ 07:46:32
  Author: hashworks
Revision: 692430

Moved package from AUR

Added:
  kiwix-tools/
  kiwix-tools/repos/
  kiwix-tools/trunk/
  kiwix-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: kiwix-tools/trunk/PKGBUILD
===================================================================
--- kiwix-tools/trunk/PKGBUILD	                        (rev 0)
+++ kiwix-tools/trunk/PKGBUILD	2020-08-30 07:46:32 UTC (rev 692430)
@@ -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