aports

Custom Alpine Linux aports

git clone git://git.lin.moe/aports.git

 1maintainer="Lindsay Zhou <i@lin.moe>"
 2pkgname="mdev-helper"
 3pkgver=20260127
 4pkgrel=0
 5pkgdesc="mdev helper scripts"
 6url="https://github.com/fff7d1bc/mdev-like-a-boss"
 7# with modification from https://github.com/eweOS/packages/tree/busybox
 8arch="noarch"
 9license="BSD-3-Clause"
10options="!check"
11_helpers="mdev-helper-dev-bus-usb
12	mdev-helper-settle-nics
13	mdev-helper-sound-control
14	mdev-helper-storage-device
15	mdev-helper-catch-all"
16source="$_helpers
17	mdev.conf"
18
19package() {
20	local f;
21	for f in $_helpers; do
22		install -Dm755 $f \
23			"$pkgdir/usr/bin/$f"
24	done
25	install -Dm644 mdev.conf \
26		"$pkgdir/usr/share/mdev-helper/mdev.conf"
27}
28
29sha512sums="
30b4b69d5b5944c4fbd4551502421b4caa95e45a90df7587b8d66b1d805567632e62e791e4eb2ff8a9a8aa38651982be1f05714f83b534a980ae955c861fd52665  mdev-helper-dev-bus-usb
31779c27499a20a61c8aa7f9bb803fcc12dc3bf3e34b90ad84a1344660c8d2cf403be3b707f652d79b237ccc8806891cb1b7aed6ec92e7b8a7d6068dd1b4267a3b  mdev-helper-settle-nics
3285da9a06268ca99689df7ed740541c28ab4c3aa1f402d5e89143c89a41ee40ac4b3ec733eb071ffa0751e0da055fd66f9afa629142957c0f37c312441e0c7aac  mdev-helper-sound-control
33ef7eba342eed9e5e55feeb8a0a64c1f5ffadb576de465e36600f6dc3e57b467a3c1822fd5bd5fac43b6adc1434197071ade827a4f1801d1115e8857639c48c71  mdev-helper-storage-device
34c4c348a09cc375ff43356356f680d717a717feda0fe65b53d1f4c0f9b8e5c703a320ef967cbb8e87eee90b7f9f257c2f1053a9cd31a66fab647d094dc774325b  mdev-helper-catch-all
35780f02725d60254b442a964b63df42f9dceb4b283705b374b5320f77318ed59c538bfd8ba70c64cb058cd1a1ab868b7d6e7b3df7337609c78c40be70d368f6a5  mdev.conf
36"