blob: d9f4d4ebc03bfc21241509336275be0c60c97cce (
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
|
pkgname=wlsunset-git
pkgver=r16.ef117f0
pkgrel=1
pkgdesc="Day/night gamma adjustments for Wayland"
arch=('x86_64')
url="https://git.sr.ht/~kennylevinsen/wlsunset"
license=('MIT')
depends=('wayland')
makedepends=('git' 'meson' 'ninja')
provides=('wlsunset')
conflicts=('wlsunset')
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
arch-meson build
ninja -C build
}
package() {
cd "$pkgname"
DESTDIR="$pkgdir" ninja -C build install
}
|