summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c169f5bd0d746ea438688f054e950aadbb4f7f7a (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
42
# Maintainer: ARKye03 <rafa03-dev@proton.me>

pkgname=icon-theme-browser-git
pkgver=r4.7e08384
pkgrel=1
pkgdesc='Browse system installed icon themes'
arch=(x86_64)
license=(MIT)
url="https://github.com/Aylur/icon-theme-browser"
depends=(
	gtk4
	glib2
	gjs
)
makedepends=(
	git
	gobject-introspection
	meson
	blueprint-compiler
	ninja
	esbuild
	desktop-file-utils
	libadwaita
)
source=("${pkgname}::git+https://github.com/Aylur/icon-theme-browser")
sha256sums=('SKIP')

pkgver() {
	cd "$pkgname" || exit
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

build() {
	cd "$pkgname" || exit
	arch-meson --prefix /usr build
	meson compile -C build
}

package() {
	cd "$pkgname" || exit
	meson install -C build --destdir "$pkgdir"
}