updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / spoje / PKGBUILD
blob2654d7c2a2658655f193306475e00d5219bef501
1 # Maintainer: Nicky726 (Nicky726 <at> gmail <dot> com)
3 pkgname=spoje
4 pkgver=0.7.3
5 pkgrel=3
6 pkgdesc="CLI aplication to search Czech public transport connections"
7 arch=('any')
8 url="http://code.google.com/p/spoje/"
9 license=('GPL')
10 depends=('python2')
11 source=(http://${pkgname}.googlecode.com/svn/trunk/${pkgname}.py)
12 md5sums=('0a3b7dd0d80f28be6e4d2eb766ac7423')
14 build() {
15   # It's python2 script
16   sed -i -e "s/env python/env python2/" \
17         "${srcdir}/${pkgname}.py"
20 package() {
21   install -Dm755 "${srcdir}/${pkgname}.py" "${pkgdir}/usr/bin/${pkgname}"