summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 023e1580f6fa035dbdeb16992bc6525637384369 (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
# Maintainer: system64 <system64fumo@protonmail.com>

pkgname=syshud
pkgver=9.9.9
pkgrel=9
pkgdesc="Simple heads up display written in gtkmm 4"
arch=('aarch64' 'x86_64')
url="https://github.com/System64fumo/syshud"
license=('WTFPL')
groups=('sysshell')
depends=('gtkmm-4.0' 'gtk4-layer-shell' 'wireplumber')
source=("git+https://github.com/System64fumo/syshud")
sha256sums=('SKIP')

pkgver() {
	cd "${pkgname}"
	git show -s --format=%cd --date=format:%Y.%m.%d $(git rev-parse HEAD)
}

build() {
	cd "${pkgname}"
	make PULSEAUDIO=$PULSEAUDIO
}

package() {
	cd "${pkgname}"
	make PREFIX=/usr DESTDIR="${pkgdir}" PULSEAUDIO=$PULSEAUDIO install
}