Files
pmaports-rtwo/main/bootmac/APKBUILD
T
Achill Gilgenast ecd710af96 */*: move to maintainer= variables
* Also move right above pkgname=
* Move Co-Maintainer lines above maintainer=
* Remove empty lines in the header

pmbootstrap 3.7+ & abuild supports maintainer= variables.

See also https://gitlab.alpinelinux.org/alpine/tsc/-/issues/88

[ci:skip-build]: no pkgver/pkgrel changes
[ci:ignore-count]: intended
[ci:skip-vercheck]: no functional changes
[skip ci]: false positives

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7723>
2026-01-12 17:01:35 +01:00

35 lines
1.1 KiB
Bash

maintainer="Dylan Van Assche <me@dylanvanassche.be>"
pkgname=bootmac
pkgver=0.6.0
pkgrel=3
pkgdesc="Configure MAC addresses at boot"
url="https://gitlab.postmarketos.org/postmarketOS/bootmac"
arch="all"
license="GPLv3-or-later"
source="https://gitlab.postmarketos.org/postmarketOS/bootmac/-/archive/v$pkgver/bootmac-v$pkgver.tar.gz"
depends="bluez-btmgmt bluez-deprecated"
options="!check"
subpackages="$pkgname-openrc $pkgname-systemd"
builddir="$srcdir/$pkgname-v$pkgver"
package() {
install -Dm644 "$builddir"/bootmac-wifi.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-bootmac-wifi.rules
install -Dm644 "$builddir"/bootmac-bluetooth.rules \
"$pkgdir"/usr/lib/udev/rules.d/90-bootmac-bluetooth.rules
install -Dm755 "$builddir"/bootmac \
"$pkgdir"/usr/bin/bootmac
install -Dm644 "$builddir"/bootmac-bluetooth.service \
-t "$pkgdir"/usr/lib/systemd/system/
}
openrc() {
default_openrc
amove usr/lib/udev/rules.d/90-bootmac-bluetooth.rules
amove usr/lib/udev/rules.d/90-bootmac-wifi.rules
}
sha512sums="
164f35b2e008aa0f7b7ad42338e46d8fdac1ec2d4403123b390706437603b1d2060659130a477823734fbda56fa45e9987fb9a2c08cf1e87adebea979e634bbb bootmac-v0.6.0.tar.gz
"