aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-13 16:24:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-13 16:24:26 +0000
commit0596d5fe228616de0f02c9831c2e8808811c77bf (patch)
treea9d50c2e026f0dd02ec5a3c13db49165dafb4c05 /main
parentd2f2f034f33f4c6d8df8573da9455b475f6550f6 (diff)
downloadaports-0596d5fe228616de0f02c9831c2e8808811c77bf.tar.bz2
aports-0596d5fe228616de0f02c9831c2e8808811c77bf.tar.xz
main/geany: fix syntax highlight for .c files
Diffstat (limited to 'main')
-rw-r--r--main/geany/APKBUILD16
1 files changed, 15 insertions, 1 deletions
diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD
index 22156a1623..713a6396aa 100644
--- a/main/geany/APKBUILD
+++ b/main/geany/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=geany
pkgver=0.20
-pkgrel=2
+pkgrel=3
pkgdesc="A fast and lightweight IDE"
url="http://www.geany.org"
arch="all"
@@ -68,6 +68,20 @@ package() {
install -p $_tags "$pkgdir"/usr/share/$pkgname/tags/
install -p $_tags "$pkgdir"/usr/share/$pkgname/tags
}
+
+dev() {
+ default_dev
+ mv "$subpkgdir"/usr/share/geany/*.c "$pkgdir"/usr/share/geany/ \
+ || return 1
+ mv "$subpkgdir"/usr/share/geany/templates/files/*.c \
+ "$pkgdir"/usr/share/geany/templates/files/ \
+ || return 1
+ rmdir "$subpkgdir"/usr/share/geany/templates/files \
+ "$subpkgdir"/usr/share/geany/templates \
+ "$subpkgdir"/usr/share/geany \
+ "$subpkgdir"/usr/share
+}
+
md5sums="7e7d6e4a40e04ecacb9bc317f97becfb geany-0.20.tar.gz
a3f52be1523faacbd8496409051ed598 dbus-glib-0.76.c.tags
33bd4e563c52e1286324b81601a77995 drupal.php.tags