summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa7f345d58041090d6d9772778ad542fcf3dc13f (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
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Markus Volkmann <mcfock@counterstrike.de>

pkgname=etherwake
pkgver=1.09
pkgrel=7
arch=(i686 x86_64 armv6h armv7h)
pkgdesc="Utility for waking up computers via wake-on-lan (wol)"
license=("GPL")
url="https://web.archive.org/web/20060427201642/http://www.scyld.com/wakeonlan.html"
depends=("glibc")
source=(https://launchpad.net/ubuntu/+archive/primary/+files/etherwake_1.09.orig.tar.gz)
sha256sums=('54241c7689579dc86e29e6afbc6d60e69f97135091a1395c8a10f6d5a2daec1d')

build() {
	cd "$srcdir/$pkgname-$pkgver.orig"
	rm -f etherwake
	gcc ether-wake.c -o etherwake
}

package() {
	cd "$srcdir/$pkgname-$pkgver.orig"
	install -Dm0755 etherwake "$pkgdir/usr/bin/etherwake"
	install -Dm0644 etherwake.8 "$pkgdir/usr/share/man/man8/etherwake.8"
}