54 lines
2.3 KiB
Text
54 lines
2.3 KiB
Text
|
# Maintainer: Anjandev Momi <anjan@momi.ca>
|
||
|
# Contributor: Maarten van Gompel <proycon@anaproy.nl>
|
||
|
pkgname=sxmo-utils
|
||
|
pkgver=1.12.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="Utility scripts, programs, and configs that hold the Sxmo UI environment together"
|
||
|
url="https://git.sr.ht/~mil/sxmo-utils"
|
||
|
arch="all !ppc64le" # limited by codemadness-frontends
|
||
|
license="AGPL-3.0-only"
|
||
|
makedepends="libx11-dev xproto linux-headers"
|
||
|
depends="
|
||
|
coreutils
|
||
|
gawk
|
||
|
curl
|
||
|
doas
|
||
|
gojq
|
||
|
"
|
||
|
|
||
|
options="!check" # has no tests
|
||
|
subpackages="$pkgname-openrc"
|
||
|
source="
|
||
|
$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/sxmo-utils/archive/$pkgver.tar.gz
|
||
|
rootfs-etc-NetworkManager-conf.d-00-sxmo.conf
|
||
|
rootfs-etc-polkit-1-rules.d-00-sxmo.rules
|
||
|
rootfs-etc-polkit-1-rules.d-50-org.freedesktop.NetworkManager.rules
|
||
|
pulse.patch
|
||
|
"
|
||
|
|
||
|
package() {
|
||
|
mkdir -p "$pkgdir/etc/modules-load.d/"
|
||
|
printf %b "snd-aloop" > "$pkgdir/etc/modules-load.d/sxmo.conf"
|
||
|
mkdir -p "$pkgdir/etc/modprobe.d/"
|
||
|
printf %b "options snd slots=,snd-aloop" > "$pkgdir/etc/modprobe.d/sxmo.conf"
|
||
|
|
||
|
make -C "$builddir" DESTDIR=$pkgdir install
|
||
|
|
||
|
install -Dm644 "$srcdir/rootfs-etc-NetworkManager-conf.d-00-sxmo.conf" \
|
||
|
"$pkgdir/etc/NetworkManager/conf.d/00-sxmo.conf"
|
||
|
|
||
|
install -Dm755 "$srcdir/rootfs-etc-polkit-1-rules.d-00-sxmo.rules" \
|
||
|
"$pkgdir/etc/polkit-1/rules.d/00-sxmo.rules"
|
||
|
|
||
|
install -Dm755 "$srcdir/rootfs-etc-polkit-1-rules.d-50-org.freedesktop.NetworkManager.rules" \
|
||
|
"$pkgdir/etc/polkit-1/rules.d/50-org.freedesktop.NetworkManager.rules"
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
4fb3102f2ca94d6a44eb830b4f29f3cca98854d6dc48b319ed136403366fe324232303f2ac3593425cea8037548c9bffb209a9824cdedbe3e655c2916d221dc1 sxmo-utils-1.12.0.tar.gz
|
||
|
67a031f309a3232ac1e8abc3fedeaee912c035f9c81b4f709248895905a27ab5844ec92c65e55b79af3894450ba3883549d4004f11efebb47114d41f730e4a5f rootfs-etc-NetworkManager-conf.d-00-sxmo.conf
|
||
|
6dbfebe1335e4ed979240868cc339bf446bba41b8f357c11ef73179acc670b831de91327da4ab6ebe8ebd06ba7205e81b505ef1800246e30fc7ccf9e3df9c5e9 rootfs-etc-polkit-1-rules.d-00-sxmo.rules
|
||
|
db670992a5cf95b317ee458bbcc24c64cc0ed978e922a4a034cb94a453479dd50d75d718ecc01267a018e6674e66015122ab0965f96e21062206dc03406b2f7f rootfs-etc-polkit-1-rules.d-50-org.freedesktop.NetworkManager.rules
|
||
|
743d3e38315f1a82ca21354ce026ca9783e006afd3096a5fe2be304c744b6bf30af897bfffc3c6a487b461d104d95abfdf39a75f3e16af33db902c41a597aca2 pulse.patch
|
||
|
"
|