aports/testing/net-predictable/APKBUILD
Alex Denes 4a2494b1d6 testing/net-predictable: new aport
https://git.redxen.eu/caskd/net-predictable Predictable interface naming for MDEV and others
2025-05-27 21:24:25 +00:00

26 lines
838 B
Text

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
pkgname=net-predictable
pkgver=1.5.1
pkgrel=0
pkgdesc="Predictable interface naming for MDEV and others"
url="https://git.redxen.eu/caskd/$pkgname"
license="MIT"
arch="all"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://git.redxen.eu/caskd/net-predictable/archive/$pkgver.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/$pkgname"
options="net !check" # no test suite available
build() {
go build -v -o "$pkgname"
}
package() {
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/COPYING
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
87d76658b953b64009684dcab2ef0ba2881698a1569b1307b4794a9d2353cb464b36bb0e95b7784fcff57d4acb1a3ad31d5545a77441c09698d1a9448eb76fe7 net-predictable-1.5.1.tar.gz
"