pmaports/main/bootmac/APKBUILD
Joel Selvaraj d00425c263
main/bootmac: update to 0.2.1 and add bluez-btmgmt dependency (MR 4416)
The bootmac script uses the btmgmt command provided by "bluez-btmgmt"
package. So add it as a dependency.

The 0.2.1 update contains fix for https://gitlab.com/postmarketOS/bootmac/-/issues/3
2023-09-27 07:58:21 +02:00

23 lines
728 B
Text

# Maintainer: Dylan Van Assche <me@dylanvanassche.be>
pkgname=bootmac
pkgver=0.2.1
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="
f99bb1645c72ddb556a0c9d61a9a20d189d13c981caca4216f9c9876db138464c42e3870108a6ab7a5f06e9b5dfefb06b1e43aa1175f7c48030277bc028c33a5 bootmac-v0.2.1.tar.gz
"