updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / wakeonlan / PKGBUILD
blob4d0b6cb90ad5ee0fe45d8c2298026f42fce6fdd8
1 # Contributor: Hyperair <hyperair@gmail.com>
2 pkgname=wakeonlan
3 pkgver=0.41
4 pkgrel=2
5 pkgdesc="Utility for waking up computers using UDP Wake-on-Lan packets"
6 arch=('i686' 'x86_64')
7 url="http://gsd.di.uminho.pt/jpo/software/wakeonlan/"
8 license=('GPL')
9 depends=(perl)
10 makedepends=(perl)
11 source=(http://gsd.di.uminho.pt/jpo/software/wakeonlan/downloads/wakeonlan-${pkgver}.tar.gz)
12 md5sums=('d3143c5fe92d16196ac853b55dd421b5')
13 options=(docs)
15 build() {
16   cd $startdir/src/$pkgname-$pkgver
17   perl Makefile.PL || return 1
18   make || return 1
19   install -D -m0755 ${pkgname} ${startdir}/pkg/usr/bin/${pkgname} || return 1
20   install -D -m0644 blib/man1/${pkgname}.1p ${startdir}/pkg/usr/share/man/man1p/${pkgname}.1p || return 1
21   find examples -exec install -D -m0644 '{}' ${startdir}/pkg/usr/share/doc/${pkgname}/\{\} \; || return 1