summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a4f73e6d063360f02b36daaa3087dcb4a400c57 (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: joel almeida <aullidolunar at gm_ai1 dot c0m>
# Maintainer: 2ion <dev@2ion.de>
pkgname=bunsen-themes-git
pkgver=r81.01b7cdb
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=('git+https://github.com/BunsenLabs/bunsen-themes.git')
md5sums=('SKIP')

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

package() {
	cd "$srcdir/bunsen-themes/themes"
	find . -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \;
	cd "$srcdir/bunsen-themes"
	find . -maxdepth 1 -type f -name "LICENSE.*" -exec install -Dm644 '{}' "$pkgdir/usr/share/doc/bunsen-themes-git/{}" \;
}