[arch-commits] Commit in zim-tools/repos (community-x86_64 community-x86_64/PKGBUILD)

Justin Kromlinger hashworks at archlinux.org
Sun Aug 30 08:00:10 UTC 2020


    Date: Sunday, August 30, 2020 @ 08:00:10
  Author: hashworks
Revision: 692440

archrelease: copy trunk to community-x86_64

Added:
  zim-tools/repos/community-x86_64/
  zim-tools/repos/community-x86_64/PKGBUILD
    (from rev 692439, zim-tools/trunk/PKGBUILD)

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

Copied: zim-tools/repos/community-x86_64/PKGBUILD (from rev 692439, zim-tools/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-08-30 08:00:10 UTC (rev 692440)
@@ -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-parser')
+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