summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d6ab029de9..a6e3aadda54 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kiwix-bin
pkgdesc = Offline reader for Web content. It's especially intended to make Wikipedia available offline.
pkgver = 0.9
- pkgrel = 1
+ pkgrel = 2
url = http://www.kiwix.org
install = kiwix.install
arch = i686
@@ -16,6 +16,10 @@ pkgbase = kiwix-bin
depends = java-environment
provides = kiwix
conflicts = kiwix
+ source = http://sourceforge.net/projects/kiwix/files/0.9/kiwix-0.9-linux-x86_64.tar.bz2
+ source = kiwix.desktop
+ md5sums = df6216ba851819d9c3d0208d3ea639df
+ md5sums = 28f6bc22e23a3a73e60bbcf632b65827
pkgname = kiwix-bin
diff --git a/PKGBUILD b/PKGBUILD
index 34c7c2f704b..e7446b76e7c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
-# Maintainer: jernick
+# Maintainer: nic96
pkgname=kiwix-bin
pkgver=0.9
-pkgrel=1
+pkgrel=2
pkgdesc="Offline reader for Web content. It's especially intended to make Wikipedia available offline."
arch=('i686' 'x86_64')
url="http://www.kiwix.org"
@@ -20,10 +20,10 @@ package() {
mkdir -p ${pkgdir}/usr/lib
mkdir -p ${pkgdir}/usr/bin
cp -R -d ${srcdir}/kiwix ${pkgdir}/usr/lib/
- find ${pkgdir}/usr/lib/kiwix -perm -u=w -exec chmod a+w {} \; #Set permisions
find ${pkgdir}/usr/lib/kiwix -perm -u=r -exec chmod a+r {} \;
find ${pkgdir}/usr/lib/kiwix -perm -u=x -exec chmod a+x {} \;
ln -f -s /usr/lib/kiwix/kiwix ${pkgdir}/usr/bin/kiwix
+ ln -f -s /usr/lib/kiwix/bin/kiwix-serve ${pkgdir}/usr/bin/kiwix-serve
install -D -m644 ${srcdir}/kiwix.desktop ${pkgdir}/usr/share/applications/kiwix.desktop
install -D -m644 ${srcdir}/kiwix/chrome/icons/default/main.png ${pkgdir}/usr/share/icons/hicolor/64x64/apps/kiwix.png
}