updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / indywiki / PKGBUILD
blob59477c435fbf0e8574ad7095c73cd18ae2c48803
1 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3 pkgname=indywiki
4 pkgver=0.9.9.1
5 pkgrel=3
6 pkgdesc="An application for visually browsing Wikipedia."
7 arch=('i686')
8 url="http://indywiki.sourceforge.net/"
9 license=('GPL')
10 depends=('python' 'pyqt')
11 source=(http://downloads.sourceforge.net/indywiki/indywiki-${pkgver}.tar.gz 
12         indywiki.desktop wikipedia.png)
13 md5sums=('032eab73fe491b43ca8374733820e1bd' '610e676062452c2c670ef14c6b265bcb' 
14          'f70b46320ee2dd605d8276b56d079ad7')
16 build() {
17         /bin/true
20 package() {
21         cd ${srcdir}/indywiki-0991/src/indywiki
23         mkdir -p ${pkgdir}/usr/{bin,share/indywiki}
24         cp -R * ${pkgdir}/usr/share/indywiki
25         cp ${srcdir}/wikipedia.png ${pkgdir}/usr/share/indywiki
26         echo -e "#!/bin/bash\n\n/usr/share/indywiki/indywiki.py" \
27                 >${pkgdir}/usr/bin/indywiki
28         chmod 755 ${pkgdir}/usr/bin/indywiki
29         install -Dm644 ${srcdir}/indywiki.desktop 
30                 ${pkgdir}/usr/share/applications/indywiki.desktop