blob: b3dd63bfcb01bd49a3db882a22d43528ea447d09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Nils Orbat <nils@orbat.sh>
pkgname='sleep-on-lan'
pkgver='1.1.0'
pkgrel='1'
pkgdesc="Multi-platform process allowing to sleep on LAN a linux or windows computer, through wake-on-lan (reversed) magic packets or through HTTP REST requests."
arch=('x86_64' 'aarch64')
url="https://github.com/SR-G/sleep-on-lan"
license=('Apache')
depends=('glibc')
makedepends=('go')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/SR-G/${pkgname}/archive/refs/tags/${pkgver}-RELEASE.tar.gz")
noextract=()
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver-RELEASE/src"
go build ./...
}
package() {
cd "$srcdir/$pkgname-$pkgver-RELEASE"
install -Dm 755 src/$pkgname "$pkgdir/usr/bin/$pkgname"
}
|