summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2014-08-12 21:08:03 -0400
committerJames An2014-08-12 21:08:03 -0400
commit55a474e64ad58a87d90f5e863a20eeb44da4fec5 (patch)
tree1bf5cce85203b8f6e94ba9a209d477af3a459789
downloadaur-55a474e64ad58a87d90f5e863a20eeb44da4fec5.tar.gz
Added unchanged geany-snippets package.
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD25
-rw-r--r--geany-snippets.install8
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..11d56635f0a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = geany-snippets
+ pkgdesc = Snippets for Geany
+ pkgver = 1
+ pkgrel = 5
+ url = http://www.geany.org/Download/Extras#snippets
+ install = geany-snippets.install
+ arch = any
+ license = GPL
+ depends = geany
+ source = http://lara.craft.net.br/snippets.conf
+ source = geany-snippets.install
+ md5sums = e6c32d7cb454deffe86cb32f62840f34
+ md5sums = 2011316bb069109d9fc3dbcfb784a73f
+
+pkgname = geany-snippets
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..23c8d96f7e0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Lara Maia <lara@craft.net.br>
+# Contribuitor: Sagar Chalise <chalisesagar@gmail.com>
+
+pkgname=geany-snippets
+pkgver=1
+pkgrel=5
+pkgdesc="Snippets for Geany"
+arch=('any')
+url="http://www.geany.org/Download/Extras#snippets"
+license=('GPL')
+depends=('geany')
+
+source=(http://lara.craft.net.br/snippets.conf
+ $pkgname.install)
+
+install=$pkgname.install
+
+md5sums=('e6c32d7cb454deffe86cb32f62840f34'
+ '2011316bb069109d9fc3dbcfb784a73f')
+
+package() {
+ cd "$srcdir"
+
+ install -Dm644 snippets.conf "$pkgdir"/usr/share/geany/snippets.conf.new
+}
diff --git a/geany-snippets.install b/geany-snippets.install
new file mode 100644
index 00000000000..c47e4a4cef2
--- /dev/null
+++ b/geany-snippets.install
@@ -0,0 +1,8 @@
+post_install() {
+ echo "Snippets installed on /usr/share/geany/snippets.conf.new"
+ echo "To use, rename snippets.conf.new to snippets.conf"
+}
+
+post_upgrade() {
+ post_install
+}