[arch-commits] Commit in (4 files)
Justin Kromlinger
hashworks at archlinux.org
Sun Aug 30 07:56:36 UTC 2020
Date: Sunday, August 30, 2020 @ 07:56:36
Author: hashworks
Revision: 692438
Moved package from AUR
Added:
zim-tools/
zim-tools/repos/
zim-tools/trunk/
zim-tools/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Added: zim-tools/trunk/PKGBUILD
===================================================================
--- zim-tools/trunk/PKGBUILD (rev 0)
+++ zim-tools/trunk/PKGBUILD 2020-08-30 07:56:36 UTC (rev 692438)
@@ -0,0 +1,27 @@
+# Maintainer: hashworks <mail at hashworks.net>
+pkgname=zim-tools
+pkgver=2.0.0
+pkgrel=2
+pkgdesc="Various ZIM command line tools"
+license=('GPL3')
+arch=('x86_64')
+provides=('zimwriterfs')
+conflicts=('zimwriterfs')
+replaces=('zimwriterfs')
+depends=('libzim' 'docopt' 'gumbo')
+makedepends=('meson')
+url='https://github.com/openzim/zim-tools'
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=(21584fbbef7dd8594a92e9baeebef8c263a189ec4aef46ef5b94eea31bbabace)
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ arch-meson build
+ ninja -C build
+}
+
+package() {
+ install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd "${pkgname}-${pkgver}/build"
+ DESTDIR="${pkgdir}" ninja install
+}
More information about the arch-commits
mailing list