updated on Mon Jan 16 04:00:32 UTC 2012
[aur-mirror.git] / kiwix / PKGBUILD
blobf014f632d38ac22ed6f203524e72c1a705f6efa5
1 # Contributor: Svetlin Tassev <>
3 pkgname=kiwix
4 _pkgver=0.9
5 _pkgsubversion=alpha7
6 pkgver=0.9_alpha7
7 pkgrel=2
8 pkgdesc="Offline reader for Web content. It's especially thought to make Wikipedia available offline. You can download a zim archive of Wikipedia from the project website to use with kiwix."
9 arch=(i686 x86_64)
10 url="http://www.kiwix.org"
11 license=('GPL3')
12 depends=('libmicrohttpd' 'xz' 'xulrunner>=1.9.2' 'xapian-core' 'icu' 'gcc' 'pkg-config' 'clucene' 'make')
14 source=(http://sourceforge.net/projects/$pkgname/files/$pkgname-${_pkgver}-${_pkgsubversion}-src.tar.bz2/download)
15 md5sums=('f517e95ab38ee657de8fd72fe2794ee9')
17 build() {
18   cd "$srcdir"/$pkgname-${_pkgver}
19   ./configure --prefix=/usr
20   make || return 1 
23 package() {
24         cd ${pkgname}-${_pkgver}
25         make DESTDIR=${pkgdir} install
26         ln -f -s /usr/lib/kiwix/kiwix.sh ${pkgdir}/usr/bin/kiwix
27         ln -f -s /usr/lib/kiwix/kiwix-compact.sh ${pkgdir}/usr/bin/kiwix-compact