ports/main/net-predictable/APKBUILD

26 lines
717 B
Plaintext
Raw Permalink Normal View History

2024-06-25 22:47:50 +00:00
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=net-predictable
2024-08-27 12:15:15 +00:00
pkgver=1.5.0
2024-06-25 22:47:50 +00:00
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="
2024-08-27 12:15:15 +00:00
352e7b1017b49ba5bc5cd74866114d343211ad4da5a816bc306c0415bd1a6b47db0550cb6c05e0051de26e720f8ff81bf123d9dc73dc351102ed5322bbbf1301 net-predictable-1.5.0.tar.gz
2024-06-25 22:47:50 +00:00
"