summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornic962018-09-22 17:17:49 -0600
committernic962018-09-22 17:17:49 -0600
commit749d57f045e4742e52b05930bb9a7343afa6c819 (patch)
treefa2180424039cf676cd1e3035dc7896cbf025221
parent080d4dfcef4aaa9175b5c05cd5e7e05324a75e15 (diff)
downloadaur-749d57f045e4742e52b05930bb9a7343afa6c819.tar.gz
updated to 0.10
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD17
2 files changed, 13 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9103e547e5a..4d472677ba3 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 = 4
+ pkgver = 0.10
+ pkgrel = 1
url = http://www.kiwix.org
install = kiwix.install
arch = i686
@@ -17,9 +17,9 @@ pkgbase = kiwix-bin
depends = zlib
provides = kiwix
conflicts = kiwix
- source = https://ftp.nluug.nl/pub/kiwix/bin/0.9/kiwix-0.9-linux-x86_64.tar.bz2
+ source = https://ftp.nluug.nl/pub/kiwix/bin/0.10/kiwix-0.10-linux-x86_64.tar.bz2
source = kiwix.desktop
- md5sums = df6216ba851819d9c3d0208d3ea639df
+ md5sums = fed02651a771b99e6e252060246b7af0
md5sums = 28f6bc22e23a3a73e60bbcf632b65827
pkgname = kiwix-bin
diff --git a/PKGBUILD b/PKGBUILD
index 8a1ed9bf5d7..8d1fbb6dcfa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: nic96
pkgname=kiwix-bin
-pkgver=0.9
-pkgrel=4
+pkgver=0.10
+pkgrel=1
pkgdesc="Offline reader for Web content. It's especially intended to make Wikipedia available offline."
arch=('i686' 'x86_64')
url="http://www.kiwix.org"
@@ -10,18 +10,19 @@ depends=('rpcbind' 'gtk2' 'alsa-lib' 'libxt' 'libcanberra' 'sqlite3' 'java-envir
provides=('kiwix')
conflicts=('kiwix')
install='kiwix.install'
-[[ "$CARCH" == 'x86_64' ]] && source=("https://ftp.nluug.nl/pub/kiwix/bin/$pkgver/kiwix-$pkgver-linux-x86_64.tar.bz2" "kiwix.desktop") && md5sums=('df6216ba851819d9c3d0208d3ea639df' '28f6bc22e23a3a73e60bbcf632b65827')
-[[ "$CARCH" == 'i686' ]] && source=("https://ftp.nluug.nl/pub/kiwix/bin/$pkgver/kiwix-$pkgver-linux-i686.tar.bz2" "kiwix.desktop") && md5sums=('b61fdc3937aa226f34f685ba0bc29db1' '28f6bc22e23a3a73e60bbcf632b65827')
+[[ "$CARCH" == 'x86_64' ]] && source=("https://ftp.nluug.nl/pub/kiwix/bin/$pkgver/kiwix-$pkgver-linux-x86_64.tar.bz2" "kiwix.desktop") && md5sums=('fed02651a771b99e6e252060246b7af0' '28f6bc22e23a3a73e60bbcf632b65827')
+[[ "$CARCH" == 'i686' ]] && source=("https://ftp.nluug.nl/pub/kiwix/bin/$pkgver/kiwix-$pkgver-linux-i686.tar.bz2" "kiwix.desktop") && md5sums=('1a3f5c7e619fe4aa96d9d98dcb2ff02b' '28f6bc22e23a3a73e60bbcf632b65827')
-#build() {
-#}
package() {
mkdir -p ${pkgdir}/usr/lib
mkdir -p ${pkgdir}/usr/bin
+ [ -d ${srcdir}/kiwix ] && rm -r ${srcdir}/kiwix
+ [[ "$CARCH" == 'x86_64' ]] && mv ${srcdir}/kiwix-0.10-x86_84 ${srcdir}/kiwix
+ [[ "$CARCH" == 'i686' ]] && mv ${srcdir}/kiwix-0.10-i686 ${srcdir}/kiwix
cp -R -d ${srcdir}/kiwix ${pkgdir}/usr/lib/
- find ${pkgdir}/usr/lib/kiwix -perm -u=r -exec chmod a+r {} \;
- find ${pkgdir}/usr/lib/kiwix -perm -u=x -exec chmod a+x {} \;
+ find ${pkgdir}/usr/lib/kiwix -perm -u=r -exec chmod a+r {} \; &> /dev/null
+ find ${pkgdir}/usr/lib/kiwix -perm -u=x -exec chmod a+x {} \; &> /dev/null
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