summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 01c96552369a957f19457d778fc4ad75a18f7c89 (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
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=adwmod-theme-git
pkgver=r621.c56ba51
pkgrel=1
pkgdesc="A modified default GNOME/GTK theme with some extras/enhancements/additions."
arch=('any')
url="https://gitlab.com/hrdwrrsk/AdwMod-theme"
license=('GPL3')
makedepends=('git' 'gnome-shell' 'meson' 'sassc')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}" 'adwaita-extended-git')
replaces=('adwaita-extended-git')
source=("${pkgname%-git}::git+https://gitlab.com/hrdwrrsk/AdwMod-theme.git")
sha256sums=('SKIP')

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

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

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