aports/community/wlopm/APKBUILD

29 lines
938 B
Text

# Contributor: Nulo <alpine@nulo.in>
# Maintainer: Adam Thiede <me@adamthiede.com>
pkgname=wlopm
pkgver=1.0.0
pkgrel=0
pkgdesc="Wayland output power management"
url="https://sr.ht/~leon_plickat/wlopm/"
arch="all"
license="GPL-3.0-or-later"
options="!check" # No test suite
makedepends="wayland-dev"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~leon_plickat/wlopm/archive/v$pkgver.tar.gz
fix-bash-completion-installation.patch
"
builddir="$srcdir/$pkgname-v$pkgver"
build() {
make
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
}
sha512sums="
6765f4abd46013c4b887972633798956cae8b60c3abd039aa74f3f70ae76696ea015a39dac68898950a939fe808d77e06a4b050b18b38b42eab1402d81926abd wlopm-1.0.0.tar.gz
4f703c684c75fcbd184a76c0d0ed7e9fe9e8f12742ceae7f3408fce9e780dc2c2594d7b498f9c5f7408c206871df17587e148b57dd21b0490a9f6bed0c9d6575 fix-bash-completion-installation.patch
"