summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 668b38a954aa0769bdc39ea33e4ba9c0f2dc3fba (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
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=gnome-backgrounds-git
pkgver=43.r8.g5966cc2
pkgrel=1
pkgdesc='Background images and data for GNOME'
url='https://gitlab.gnome.org/GNOME/gnome-backgrounds'
arch=(any)
depends=(webp-pixbuf-loader)
makedepends=(git glib2 meson)
provides=(gnome-backgrounds)
conflicts=(gnome-backgrounds)
license=(CCPL:by-sa)
source=('git+https://gitlab.gnome.org/GNOME/gnome-backgrounds.git')
b2sums=('SKIP')

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

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

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

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