summaryrefslogtreecommitdiffstats
path: root/abs/extra/wol/PKGBUILD
blob: 1920390a76a83cc0f27700c7d10999a862c3664a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 58676 2011-11-17 14:54:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Anders Bergh <anders1@gmail.com>
# Contributor: Markus Volkmann <mcfock@counterstrike.de>

pkgname=wol
pkgver=0.7.1
pkgrel=5
arch=('i686' 'x86_64')
pkgdesc="Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant"
license=("GPL")
depends=()
url="http://ahh.sourceforge.net/wol/"
install=wol.install
source=(http://downloads.sourceforge.net/ahh/wol-$pkgver.tar.gz)
md5sums=('c2fa9d7e771134ac8c89d56b8197d4ca')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
  rm $pkgdir/usr/share/info/dir
}