summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc4224103a7c490b27c3acdc1849894b36a0bd7b (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
38
39
40
41
# Maintainer: Philip Goto <philip.goto@gmail.com>

pkgname=icon-library-git
pkgver=0.0.8.r73.g58d0a7f
pkgrel=1
pkgdesc='Find the right symbolic icon to use on your GNOME application'
arch=(x86_64 aarch64)
url='https://gitlab.gnome.org/World/design/icon-library'
license=(GPL3)
depends=(
	gtksourceview5
	libadwaita
)
makedepends=(
	git
	meson
	rust
)
checkdepends=(appstream-glib)
provides=(icon-library)
conflicts=(icon-library)
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
	cd icon-library
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	arch-meson icon-library build
	meson compile -C build
}

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

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