summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Dejonckheere2013-11-12 21:00:03 +0100
committerFlorian Dejonckheere2013-11-12 21:00:03 +0100
commit6b811f809838882f7f5fbd841818fb7d3bfc5179 (patch)
tree07af0225d31f6b10a6cc0dc7ea7aecfd207c5cd7
downloadaur-6b811f809838882f7f5fbd841818fb7d3bfc5179.tar.gz
Added geany-themes-git
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..18492ebfffb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = geany-themes-git
+ pkgdesc = A collection of color schemes for geany.
+ pkgver = 1.22.26
+ pkgrel = 2
+ url = https://github.com/codebrainz/geany-themes
+ arch = any
+ license = GPL
+ makedepends = git
+ depends = geany
+ provides = geany-themes
+ source = git://github.com/codebrainz/geany-themes.git
+ md5sums = SKIP
+
+pkgname = geany-themes-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6259e3a4bca
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Contributor: Lara Maia <lara@craft.net.br>
+# Maintainer: Florian Dejonckheere <florian@floriandejonckheere.be>
+
+pkgname=geany-themes-git
+_gitname=geany-themes
+pkgver=1.22.26
+pkgrel=2
+pkgdesc="A collection of color schemes for geany."
+arch=('any')
+url="https://github.com/codebrainz/${_gitname}"
+license=('GPL')
+depends=('geany')
+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
+}