summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3ecd7cec2259bf0afc5a6212755f1ac5f2febc84 (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
30
31
32
33
34
35
36
37
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=vanilla-backgrounds-git
pkgver=continuous.r0.g54ac40b
pkgrel=1
pkgdesc='Collection of light and dark backgrounds for Vanilla OS'
arch=(any)
url='https://github.com/Vanilla-OS/vanilla-backgrounds'
license=('CCPL:by-sa-4.0' 'CCPL:by-4.0')
depends=(webp-pixbuf-loader)
makedepends=(
	git
	glib2
	meson
)
provides=(vanilla-backgrounds)
conflicts=(vanilla-backgrounds)
source=("git+${url}.git")
b2sums=('SKIP')

pkgver() {
	cd vanilla-backgrounds
	git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	arch-meson vanilla-backgrounds build
	meson compile -C build
}

check() {
	meson test -C build --print-errorlogs
}

package() {
	meson install -C build --destdir "${pkgdir}"
}