summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fc8e5ec7b9ec2a374136342e38427411cd27c46 (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
# Maintainer: joel almeida <aullidolunar at gm_ai1 dot c0m>
# Maintainer: 2ion <dev@2ion.de>
pkgname=bunsen-themes-git
pkgver=r62.5a35074
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
}