aports

Custom Alpine Linux aports

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

 1# Contributor:
 2# Maintainer:
 3pkgname=wlock
 4pkgver=1.0
 5pkgrel=0
 6pkgdesc="itsy-bitsy sessionlocker"
 7url="https://codeberg.org/sewn/wlock"
 8arch="all"
 9license="GPL-3.0"
10makedepends="
11	wayland-dev
12	wayland-protocols
13	libxkbcommon-dev
14	"
15subpackages="$pkgname-doc"
16source="$pkgname-$pkgver.tar.gz::https://codeberg.org/sewn/wlock/archive/$pkgver.tar.gz"
17options="!check suid" # no upstream test
18builddir="$srcdir/$pkgname"
19
20build() {
21	make
22}
23
24package() {
25	make DESTDIR="$pkgdir" PREFIX="/usr" install
26	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
27}
28
29sha512sums="
304517bf46e90e0f92e1357a3b4d8d92a42519ec32622244e0574825c18069710808c487e351ff742bc2ce6ae30bae9535babe19bd6b8657d636331121a5ec12e7  wlock-1.0.tar.gz
31"