blob: 35daa2a443a30bed89791d4d321e76170070d573 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Thomas Krug <phragment@elektronenpumpe.de>
pkgname=wlr-dpms-git
pkgver=r17.d0e6412
pkgrel=1
pkgdesc="change output power modes in wlroots compositors"
arch=('x86_64')
url="https://sr.ht/~dsemy/wlr-dpms/"
license=('MIT')
depends=('wayland')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://git.sr.ht/~dsemy/wlr-dpms')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
unset CFLAGS
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make PREFIX=/usr DESTDIR="$pkgdir/" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|