updated on Thu Jan 5 13:17:10 UTC 2012
[aur-mirror.git] / pytomtom / PKGBUILD
blob55ed8746d978beddcd1c711285c6385c4c047bbb
1 # Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
2 # Great Contributor: Bartek Piotrowski <barthalion@gmail.com>
3 pkgname=pytomtom
4 pkgver=0.5.1
5 pkgrel=1
6 pkgdesc="Manage your TomTom under Linux"
7 arch=('i686' 'x86_64')
8 url="http://pytomtom.tuxfamily.org/"
9 license=('GPL')
10 depends=('python2' 'pygtk' 'cabextract')
11 source=(https://pytomtom.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
12 md5sums=('4cd3a01c2b020578c8894bd556cef339')
14 package() {
15   cd "${srcdir}/${pkgname}"
16   sed -i -e 's/python/python2/' bin/pytomtom
17   install -Dm 755 bin/pytomtom "${pkgdir}/usr/bin/pytomtom"
18   chmod -R 755 share # I've no idea how to make it better, but it works.
19   cp -R share "${pkgdir}/usr"