summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 27c883151a2205194748f0cefaf58e1adee658d7 (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: Ali Nabipour <alinabipour01@gmail.com>

pkgname=cutefish-gtk-themes-git
_pkgname=cutefish-gtk-themes
pkgver=0.7.r0.g91f762f
pkgrel=1
pkgdesc="Cutefish gtk dark/light themes"
arch=('any')
url="https://github.com/cutefishos/gtk-themes"
license=('GPL')
groups=('cutefish-git')
depends=()
makedepends=('extra-cmake-modules' 'git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
sha512sums=('SKIP')

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

build() {
  cd gtk-themes

  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd gtk-themes
  make DESTDIR="$pkgdir" install
}