updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gwakeonlan / PKGBUILD
blobac5355b05ba97a668597cd52f45035bdd6c01274
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=gwakeonlan
4 pkgver=0.5.1
5 pkgrel=2
6 pkgdesc="GTK utility to awake machines using the wake on lan feature"
7 arch=('i686' 'x86_64')
8 url="http://ubuntrucchi.wordpress.com/progetti-projects/gwakeonlan/"
9 license=("GPL")
10 makedepends=('imagemagick')
11 depends=('python2' 'libglade')
12 source=("http://gwakeonlan.googlecode.com/files/${pkgname}_${pkgver}_all.tar.gz")
13 md5sums=('29aae0189807dde263c8565582780842')
15 build() {
16 true
19 package() {
20 cd $srcdir/$pkgname-$pkgver
21 python2 setup.py install --root=$pkgdir --prefix=/usr
22 cd build/mo
23 find . -type f -print0 | while IFS= read -r -d $'\0' file; do
24         install -D -m644 ${file:2} $pkgdir/usr/share/locale/${file:2:2}/LC_MESSAGES/gwakeonlan.mo
25 done