updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / apmil / PKGBUILD
blobb23093e29373491cf9fc58ff85c181bb1921d2c6
1 # Contributor: Alexander Preisinger <alexander dot preisinger at gmail dot com>
2 pkgname=apmil
3 pkgver=0.4.0
4 pkgrel=2
5 pkgdesc="APMIL Manga Image Downloader"
6 arch=(any)
7 license=('GPL')
8 depends=('python2' 'wxpython')
9 source=(http://dl.sharesource.org/apmil/${pkgname}-${pkgver}.tar.bz2)
10 url="http://sharesource.org/project/apmil/"
11 md5sums=('17791dd76f4825ce5dc1072bdf651c51')
13 build() {
14         cd ${srcdir}/${pkgname} 
16     sed -i "s/python/python2/" apmil.py
18         mkdir -p ${startdir}/pkg/usr/share/apmil/ 
19         install -m 644 ./*.py ${startdir}/pkg/usr/share/apmil/
20         chmod 755 ${startdir}/pkg/usr/share/apmil/apmil.py
21     mkdir -p ${startdir}/pkg/usr/bin/
22         ln -s ${startdir}/pkg/usr/share/apmil/apmil.py ${startdir}/pkg/usr/bin/apmil
24         install -D -m 644 ./LICENCE.txt ${startdir}/pkg/usr/share/licenses/apmil/LICENCE
25         install -D -m 644 ./ap_logo.png ${startdir}/pkg/usr/share/pixmaps/ap_logo.png
26         install -D -m 644 ./apmil.desktop ${startdir}/pkg/usr/share/applications/apmil.desktop
28         mkdir -p ${startdir}/pkg/usr/share/apmil/locale/
29         install -D -m 644 ./locale/*.mo ${startdir}/pkg/usr/share/apmil/locale/
30     
31     mkdir -p ${startdir}/pkg/usr/share/apmil/plugins/
32         install -D -m 644 ./plugins/* ${startdir}/pkg/usr/share/apmil/plugins/
33