pmaports/main/bootmac/APKBUILD
Sergey Lisov f261b2b204
main/bootmac: upgrade to v0.4.0 (MR 4665)
Added generate-only mode
2024-03-25 01:52:05 +03:00

23 lines
728 B
Text

# Maintainer: Dylan Van Assche <me@dylanvanassche.be>
pkgname=bootmac
pkgver=0.4.0
pkgrel=0
pkgdesc="Configure MAC addresses at boot"
url="https://gitlab.com/postmarketOS/bootmac"
arch="all"
license="GPLv3-or-later"
source="https://gitlab.com/postmarketOS/bootmac/-/archive/v$pkgver/bootmac-v$pkgver.tar.gz"
depends="bluez-btmgmt"
options="!check"
builddir="$srcdir/$pkgname-v$pkgver"
package() {
install -Dm644 "$builddir"/bootmac.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-bootmac.rules
install -Dm755 "$builddir"/bootmac \
"$pkgdir"/usr/bin/bootmac
}
sha512sums="
7d73e348f1ea1ff7a867e54848f754e34e3b2c7bd73f7fd09e2f68f8db0dba4bc7b3ea7cc713d0e2b67b7d67363d58c636656fd3cd336898b731c099fbb49c8b bootmac-v0.4.0.tar.gz
"