2022-08-15 18:39:10 +00:00
|
|
|
# Maintainer: Dylan Van Assche <me@dylanvanassche.be>
|
|
|
|
pkgname=bootmac
|
2023-09-22 13:36:25 +00:00
|
|
|
pkgver=0.2.1
|
2022-08-15 18:39:10 +00:00
|
|
|
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"
|
2023-09-22 13:36:25 +00:00
|
|
|
depends="bluez-btmgmt"
|
2022-08-15 18:39:10 +00:00
|
|
|
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="
|
2023-09-22 13:36:25 +00:00
|
|
|
f99bb1645c72ddb556a0c9d61a9a20d189d13c981caca4216f9c9876db138464c42e3870108a6ab7a5f06e9b5dfefb06b1e43aa1175f7c48030277bc028c33a5 bootmac-v0.2.1.tar.gz
|
2022-08-15 18:39:10 +00:00
|
|
|
"
|