diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:57:17 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:57:17 (GMT) |
commit | 48b29ffdcc0604e7efae8ffae80c401aa8540f7e (patch) | |
tree | aa75d8b585842da3c73aa26e8a68573539df008d /abs/extra/wol/PKGBUILD | |
parent | 0d54286b2b1d9a0d3fde6a3a8fef0834d8aab476 (diff) | |
download | linhes_pkgbuild-48b29ffdcc0604e7efae8ffae80c401aa8540f7e.zip linhes_pkgbuild-48b29ffdcc0604e7efae8ffae80c401aa8540f7e.tar.gz linhes_pkgbuild-48b29ffdcc0604e7efae8ffae80c401aa8540f7e.tar.bz2 |
wol: updated from ABS, minor pkgbuild cleanups
Diffstat (limited to 'abs/extra/wol/PKGBUILD')
-rw-r--r--[-rwxr-xr-x] | abs/extra/wol/PKGBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/abs/extra/wol/PKGBUILD b/abs/extra/wol/PKGBUILD index 87bfc70..1920390 100755..100644 --- a/abs/extra/wol/PKGBUILD +++ b/abs/extra/wol/PKGBUILD @@ -1,27 +1,28 @@ -# $Id: PKGBUILD 17446 2010-05-24 10:42:15Z spupykin $ +# $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=4 +pkgrel=5 arch=('i686' 'x86_64') -pkgdesc="wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant." +pkgdesc="Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant" license=("GPL") -depends=(sh) +depends=() 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 + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info + make +} - mv $pkgdir/usr/man $pkgdir/usr/share/ && \ - mv $pkgdir/usr/info $pkgdir/usr/share/ && \ +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install rm $pkgdir/usr/share/info/dir } |