summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dba185da9c335962e50bfb220acdbfc08629d016 (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
# Maintainer:
# Contributor: Mark Wagie <mark.wagie at tutanota dot com>

pkgname=stilo-themes-git
pkgver=3.38.1.r3.g40308b0
pkgrel=1
pkgdesc="Minimalistic GTK themes"
arch=('any')
url="https://github.com/lassekongo83/stilo-themes"
license=('GPL3')
makedepends=('git' 'meson' 'sassc')
optdepends=('ttf-roboto: The recommended font'
            'gtk-engines: for the GTK2 theme'
            'gtk-engine-murrine: for the GTK2 theme')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
source=('git+https://github.com/lassekongo83/stilo-themes.git')
sha256sums=('SKIP')


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

build() {
	arch-meson "${pkgname%-git}" build
	meson compile -C build
}

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