1 # Maintainer: Phillip Smith <fukawi2@NO-SPAM.gmail.com>
2 # http://github.com/fukawi2/aur-packages
6 pkgdesc="Wallpaper rotator for Gnome using files found in ~/.gnome2/backgrounds.xml"
8 url="http://pypi.python.org/pypi/freshwall/"
10 source=("http://pypi.python.org/packages/source/f/$pkgname/$pkgname-$pkgver.tar.gz")
11 md5sums=('bf8911f94ab37766f64bfd5c1f39cb30')
14 msg "Nothing to compile for $pkgname"
18 cd $srcdir/$pkgname-$pkgver
20 msg "Creating dirs..."
21 mkdir -p $pkgdir/usr/bin/
22 mkdir -p $pkgdir/usr/lib/python2.6/site-packages/$pkgname/
24 msg "Copying files..."
25 cp bin/* $pkgdir/usr/bin/
26 cp lib/$pkgname/* $pkgdir/usr/lib/python2.6/site-packages/$pkgname/
28 msg "Forcing usage of python2"
29 sed -e 's|^#!/usr/bin/env python$|#!/usr/bin/python2|g' \
32 msg "Setting permissions..."
33 chmod 755 $pkgdir/usr/bin/*
36 # vim:set ts=2 sw=2 et: