blob: 2b7e22f9061485f4ef93378bf2561e2a39652a16 (
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
|
# Maintainer: Andrea Feletto <andrea@andreafeletto.com>
pkgname=wlopm
pkgver=1.0.0
pkgrel=1
pkgdesc='Wayland output power management.'
arch=('x86_64')
url='https://sr.ht/~leon_plickat/wlopm'
license=('GPL3')
depends=('wayland' 'wayland-protocols')
source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~leon_plickat/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('15f31bbd855131943397dded3a26003f2f5056e4c6a1a93d35ff7697b3f1e439')
build() {
cd "$pkgname-v$pkgver"
make
}
package() {
install -dm755 "$pkgdir/usr/share/bash-completion/completions"
cd "$pkgname-v$pkgver"
make DESTDIR="$pkgdir/" PREFIX='/usr' install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 README -t "$pkgdir/usr/share/doc/$pkgname"
}
|