Skip to content
Snippets Groups Projects
Commit 2b0a72ad authored by Robin Candau's avatar Robin Candau Committed by Patrycja Rosa
Browse files

testing/wakeonlan: new aport

https://github.com/jpoliv/wakeonlan/

Perl script for waking up computers via Wake-On-LAN magic packets
parent 0dbb4153
No related branches found
No related tags found
1 merge request!60343testing/wakeonlan: new aport
Pipeline #243738 canceled
# Contributor: Robin Candau <robincandau@protonmail.com>
# Maintainer: Robin Candau <robincandau@protonmail.com>
pkgname=wakeonlan
pkgver=0.42
pkgrel=0
pkgdesc="Perl script for waking up computers via Wake-On-LAN magic packets"
url="https://github.com/jpoliv/wakeonlan"
arch="noarch"
license="Artistic-2.0"
depends="perl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/jpoliv/wakeonlan/archive/v$pkgver.tar.gz"
options="!check" # no test suite
build() {
perl Makefile.PL
make
}
package() {
install -Dm 755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm 644 "blib/man1/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
install -Dm 644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
install -Dm 644 Changes "$pkgdir/usr/share/doc/$pkgname/Changes"
find examples/ -type f -exec install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" {} +
}
sha512sums="
46ecc7106eefa0b993f0f59eb4e4a593fac7831dffee87c743a7bd757abf366258e99e1efc6742fb3992ee066cb4e280787d0bf3d2db7fb4c88be7c09452da81 wakeonlan-0.42.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment