summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5ad1c1858c7b3a180219d0de6a1497248b20086 (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
# Maintainer: 2ion <dev@2ion.de>
pkgname=bunsen-themes-git
pkgver=r2.3a2993b
pkgrel=1
pkgdesc="BunsenLabs GTK/Openbox/Lightdm Themes"
arch=('any')
url="https://github.com/BunsenLabs/bunsen-themes"
license=('GPL3' 'CCPL:by-sa')
depends=('gtk-engine-murrine')
makedepends=('git')
optdepends=(                                                    \
  'lib32-gtk-engine-murrine: required for multilib (GTK2)'      \
  'gtk3: required for the GTK3 themes')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('bunsen-themes::git+https://github.com/BunsenLabs/bunsen-themes.git#branch=master')
md5sums=('SKIP')

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

package() {
  cd "$srcdir/${pkgname%-git}"

  install -d "$pkgdir"/usr/share/themes
  install -d "$pkgdir"/usr/share/doc/bunsen-themes-git

  cp -r Bunsen-Blackish Bunsen-Blue-Dark Bunsen-Blue Bunsen-Dark Bunsen-lightdm Bunsen CrunchBang "$pkgdir"/usr/share/themes
  cp LICENSE.{GPL,CC} "$pkgdir"/usr/share/doc/bunsen-themes-git
}