blob: 211df8bf1335acefd310653fe28f75442305876b (
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
|
# Maintainer: Firegem <mrfiregem [at] protonmail [dot] ch>
pkgname=wlopm-git
pkgver=r15.4ffa093
pkgrel=1
pkgdesc="Wayland output power management."
arch=('x86_64')
url="https://git.sr.ht/~leon_plickat/wlopm"
license=('GPL3')
depends=(wayland{,-protocols})
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://git.sr.ht/~leon_plickat/wlopm')
md5sums=('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}"
make PREFIX='/usr' DESTDIR="$pkgdir"
}
package() {
cd "$srcdir/${pkgname%-git}"
make install PREFIX='/usr' DESTDIR="$pkgdir"
}
|