updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / weatherpaper / PKGBUILD
blobdd96156485836a4472c5056df3c394f2c203c2be
1 # Maintainer: Dominik Mayer <dominik.mayer@gmail.com>
2 pkgname=weatherpaper
3 pkgver=0.2.2
4 pkgrel=1
5 pkgdesc="A weather based desktop wallpaper changer"
6 arch=('any')
7 url="http://code.google.com/p/weatherpaper/"
8 license=('GPL')
9 depends=('python' 'python-imaging')
10 source=(http://weatherpaper.googlecode.com/files/$pkgver-linux.tar.gz)
11 md5sums=('bf52f1960f60387beab73ffc0fbdd562')
13 build() {
15   mkdir "$pkgdir/opt"
16   #mkdir "$pkgdir/opt/WeatherPaper"
17   mkdir "$pkgdir/usr"
18   mkdir "$pkgdir/usr/share"
19   mkdir "$pkgdir/usr/share/applications"
21   cd "$srcdir/$pkgver-linux"
22   chmod a-x "weatherpaper.desktop"
23   chmod a-x "weatherpaper-editor.desktop"
24   mv "weatherpaper.desktop" "$pkgdir/usr/share/applications/weatherpaper.desktop"
25   mv "weatherpaper-editor.desktop" "$pkgdir/usr/share/applications/weatherpaper-editor.desktop"
26   rm "install.sh"
28   mv "$srcdir/$pkgver-linux" "$pkgdir/opt/WeatherPaper"