summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d359ea1b0f2793f4b3ecf4db1c266ae66bd7e9b6 (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
# Maintainer: Matt Mathis <aur@cloudninja.pw>
pkgname=glpaper-hg
pkgver=r16.2b3a7b552353
pkgrel=1
pkgdesc="WLRoots based GLSL wallpapers for WLRoots compositors"
arch=('x86_64')
url="https://hg.sr.ht/~scoopta/glpaper"
license=('GPL3')
groups=()
depends=('wayland')
makedepends=('mercurial')
source=("${pkgname}::hg+$url")
sha256sums=('SKIP')
pkgver() {
	cd "$pkgname"
        printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}

build() {
	cd "${pkgname}/Release"
        make
}
package() {
	mkdir -p "$pkgdir/usr/bin"
	cp ${pkgname}/Release/glpaper "$pkgdir/usr/bin/"
}