aports

Custom Alpine Linux aports

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

 1# Contributor:
 2# Maintainer:
 3pkgname=widle
 4pkgver=0_git20260420
 5_gitrev=8d3575f8112a3ef7e909a093d91b3b05cdda0293
 6pkgrel=0
 7pkgdesc="Run a command upon becoming idle"
 8url="https://codeberg.org/sewn/widle"
 9arch="all"
10license="Custom"
11makedepends="
12	wayland-dev
13	wayland-protocols
14	"
15checkdepends=""
16subpackages="$pkgname-doc"
17source="$pkgname-$pkgver.tar.gz::https://codeberg.org/sewn/widle/archive/$_gitrev.tar.gz"
18options="!check" # no upstream test
19builddir="$srcdir/$pkgname"
20
21
22build() {
23	make
24}
25
26package() {
27	make DESTDIR="$pkgdir" PREFIX="/usr" install
28	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
29	
30	install -Dm0644 widle.1 -t "$pkgdir"/usr/share/man/man1/
31}
32
33sha512sums="
348a39c6e99786627017470d2e5506bc41bc244ad7f58089a7881e01d5b61cb94e0b0da107ef3fea5f0441930d494a32d31bc97ff600b805e0d2d5a12d5ff884fa  widle-0_git20260420.tar.gz
35"