[arch-commits] Commit in kiwix-desktop/repos (2 files)
Justin Kromlinger
hashworks at archlinux.org
Wed Sep 2 09:36:45 UTC 2020
Date: Wednesday, September 2, 2020 @ 09:36:45
Author: hashworks
Revision: 696282
archrelease: copy trunk to community-x86_64
Added:
kiwix-desktop/repos/community-x86_64/
kiwix-desktop/repos/community-x86_64/PKGBUILD
(from rev 696281, kiwix-desktop/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: kiwix-desktop/repos/community-x86_64/PKGBUILD (from rev 696281, kiwix-desktop/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-09-02 09:36:45 UTC (rev 696282)
@@ -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