summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7679265d2ff32d90ecd74d89d6cf141b781a424 (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
# Contributor: Lara Maia <lara@craft.net.br>
# Maintainer: Florian Dejonckheere <florian at floriandejonckheere dot be>

pkgname=geany-themes-git
_gitname=geany-themes
pkgver=1.22.82.g480a7bd
pkgrel=1
pkgdesc='A collection of color schemes for geany.'
arch=('any')
url="https://github.com/codebrainz/${_gitname}"
license=('GPL')
depends=('geany')
conflicts=('geany-themes')
makedepends=('git')
provides=('geany-themes')
source=("git://github.com/codebrainz/${_gitname}.git")
md5sums=('SKIP')

pkgver()
{
	cd "${srcdir}/${_gitname}"
	git describe --always | sed 's|-|.|g'
}

package()
{
	cd "${srcdir}/${_gitname}"
	make install COLORSCHEME_DIR="${pkgdir}"/usr/share/geany/colorschemes
}