summaryrefslogtreecommitdiff
path: root/community/wol/PKGBUILD
blob: 87bfc7005320e1cc1bc82689e760d90fb520726d (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
# $Id: PKGBUILD 17446 2010-05-24 10:42:15Z 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=4
arch=('i686' 'x86_64')
pkgdesc="wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant."
license=("GPL")
depends=(sh)
url="http://ahh.sourceforge.net/wol/"
install=wol.install
source=(http://downloads.sourceforge.net/ahh/wol-$pkgver.tar.gz)
md5sums=('c2fa9d7e771134ac8c89d56b8197d4ca')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1

  mv $pkgdir/usr/man $pkgdir/usr/share/ && \
  mv $pkgdir/usr/info $pkgdir/usr/share/ && \
  rm $pkgdir/usr/share/info/dir
}