[arch-commits] Commit in (4 files)

Justin Kromlinger hashworks at archlinux.org
Wed Sep 2 09:36:33 UTC 2020


    Date: Wednesday, September 2, 2020 @ 09:36:32
  Author: hashworks
Revision: 696281

Moved package from AUR (kiwix-desktop-git PKGBUILD)

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

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

Added: kiwix-desktop/trunk/PKGBUILD
===================================================================
--- kiwix-desktop/trunk/PKGBUILD	                        (rev 0)
+++ kiwix-desktop/trunk/PKGBUILD	2020-09-02 09:36:32 UTC (rev 696281)
@@ -0,0 +1,27 @@
+# Maintainer: Justin Kromlinger <hashworks at archlinux.org>
+
+pkgname=kiwix-desktop
+pkgver=2.0.4
+pkgrel=2
+pkgdesc="Offline reader for Web content, especially intended to make Wikipedia available offline"
+url="https://github.com/kiwix/kiwix-desktop"
+arch=("x86_64")
+license=("GPL3")
+depends=("qt5-base" "qt5-webengine" "qt5-svg" "qt5-imageformats" "kiwix-lib")
+makedepends=("qt5-tools")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('c6749b21fae9ced23667fb9949a31a5342aca7d611b32c7052f57c1b273a8d89')
+
+build() {
+	cd "${pkgname}-${pkgver}"
+	export CFLAGS+=" ${CPPFLAGS}"
+	export CXXFLAGS+=" ${CPPFLAGS}"
+	qmake PREFIX="/usr"
+	make
+}
+
+package() {
+	cd "${pkgname}-${pkgver}"
+	install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+	make INSTALL_ROOT="$pkgdir/" install
+}



More information about the arch-commits mailing list