ports/main/net-predictable/APKBUILD
2024-06-25 22:47:50 +00:00

26 lines
717 B
Plaintext

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=net-predictable
pkgver=1.3.0
pkgrel=0
pkgdesc="Persistent interface naming for mdev and others"
url="https://git.redxen.eu/caskd/$pkgname"
license="MIT"
arch="all"
makedepends="go>=1.22.3"
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname"
options="net !check" # no test suite available
build() {
go get -v
go build -v -o "$pkgname"
}
package() {
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
c8aad1618ff05e035c999accd75a2b10d3370a82ee436f73ccd944f9c3427526e4297e181cfebba5df9b385eb56593629082a4d5f6326fb6c2a1037e458bf017 net-predictable-1.3.0.tar.gz
"