updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / adesklet-aanalogue / PKGBUILD
blob01e3405a89bb5b20d7544bfa5def323641884405
1 # Contributor: Filip <fila pruda com>
3 pkgname=adesklet-aanalogue
4 pkgver=0.1.0
5 pkgrel=1
6 pkgdesc="A desklet which displays an analogue clock."
7 arch=('any')
8 url="http://adesklets.sourceforge.net/desklets.html"
9 license=("GPL")
10 depends=('adesklets')
11 groups=('adesklet-desklets')
12 source=(http://prdownloads.sourceforge.net/adesklets/aanalogue-0.1.0.tar.bz2)
13 md5sums=('c2df74bab5ec7388c07a64dda6b2d539')
15 package() {
16   install -d -m 775 ${pkgdir}/usr/share/adesklets/aanalogue
17   chown root:adesklets ${pkgdir}/usr/share/adesklets/aanalogue
18   
19   cp -a ${srcdir}/aanalogue-$pkgver/* ${pkgdir}/usr/share/adesklets/aanalogue/
20   
21   sed -i 's|/usr/bin/env python|/usr/bin/env python2|' "${pkgdir}/usr/share/adesklets/aanalogue/aanalogue-0.1.0.py"