summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 25a2784e0092d159b9f72f6331fab46b5de31989 (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
# Maintainer: Leonid Selivanov <bravebug at gmail dot com>
#
pkgname=stajl-theme-git
pkgver=r100.2660577
pkgrel=1
pkgdesc="A theme for GNOME based on Adwaita"
arch=('any')
url="https://github.com/lassekongo83/stajl-theme"
license=(GPL3)
depends=(gtk-engine-murrine gtk-engines)
makedepends=(ninja meson sassc)
conflicts=(stajl-theme)
provides=(stajl-theme)
source=("${pkgname}::git+${url}")
md5sums=('SKIP')

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

build() {
    cd $pkgname
    meson build
}

package(){
    cd $pkgname
    DESTDIR="$pkgdir" ninja -C build install
}