From dc6c8fbb46f567b90ca5970826694c02755a82f8 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 9 Jun 2011 17:54:22 +0000 Subject: main/geany: use firefox as default browser and ship tags --- main/geany/APKBUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 61 insertions(+), 6 deletions(-) (limited to 'main/geany') diff --git a/main/geany/APKBUILD b/main/geany/APKBUILD index 5a1a9a250e..22156a1623 100644 --- a/main/geany/APKBUILD +++ b/main/geany/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=geany pkgver=0.20 -pkgrel=1 +pkgrel=2 pkgdesc="A fast and lightweight IDE" url="http://www.geany.org" arch="all" @@ -11,14 +11,36 @@ makedepends="gtk+-dev intltool perl-xml-parser vte-dev" depends= depends_dev="gtk+-dev" install= -source="http://download.$pkgname.org/$pkgname-$pkgver.tar.gz" +source="http://download.$pkgname.org/$pkgname-$pkgver.tar.gz + http://download.geany.org/contrib/tags/dbus-glib-0.76.c.tags + http://download.geany.org/contrib/tags/drupal.php.tags + http://download.geany.org/contrib/tags/ethos-1.0.c.tags + http://download.geany.org/contrib/tags/geany-api-0.19.c.tags + http://download.geany.org/contrib/tags/gladeui-1.0.c.tags + http://download.geany.org/contrib/tags/gnt.c.tags + http://download.geany.org/contrib/tags/gtk220.c.tags + http://download.geany.org/contrib/tags/gtkscintilla-2.0.c.tags + http://download.geany.org/contrib/tags/gtksourceview-3.0.c.tags + http://download.geany.org/contrib/tags/libdevhelp-2.0.c.tags + http://download.geany.org/contrib/tags/libgdl-3.0.c.tags + http://download.geany.org/contrib/tags/libxml-2.0.c.tags + http://download.geany.org/contrib/tags/sqlite3.c.tags + http://download.geany.org/contrib/tags/standard.css.tags + http://download.geany.org/contrib/tags/std.glsl.tags + http://download.geany.org/contrib/tags/std.latex.tags + http://download.geany.org/contrib/tags/std.vala.tags + http://download.geany.org/contrib/tags/v4l2.c.tags + http://download.geany.org/contrib/tags/webkit-1.0.c.tags + http://download.geany.org/contrib/tags/wordpress.php.tags + http://download.geany.org/contrib/tags/xfce46.c.tags + http://advamacs.com/pub/tcl.tcl.tags +" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - # set default browser to midori and default terminal to Terminal - sed -e 's/firefox/midori/g' \ - -e 's/xterm/Terminal/g' \ + # set default terminal to Terminal + sed -e 's/xterm/Terminal/g' \ -i src/keyfile.c } @@ -34,5 +56,38 @@ package() { sed -i 's|Sh=|Sh=APKBUILD;|' data/filetype_extensions.conf || return 1 make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '*.la' -delete + + # install the tags + local _tags= + for i in $source; do + case $i in + *.tags) _tags="$_tags $srcdir/${i##*/}";; + esac + done + mkdir -p "$pkgdir"/usr/share/$pkgname/tags + install -p $_tags "$pkgdir"/usr/share/$pkgname/tags/ + install -p $_tags "$pkgdir"/usr/share/$pkgname/tags } -md5sums="7e7d6e4a40e04ecacb9bc317f97becfb geany-0.20.tar.gz" +md5sums="7e7d6e4a40e04ecacb9bc317f97becfb geany-0.20.tar.gz +a3f52be1523faacbd8496409051ed598 dbus-glib-0.76.c.tags +33bd4e563c52e1286324b81601a77995 drupal.php.tags +95221e92a942928569f23ef03c7f5dc8 ethos-1.0.c.tags +9a69cab6ea545b42cf47c5d4eb2003f2 geany-api-0.19.c.tags +037e3fc18636f435219e7f1f444c21c6 gladeui-1.0.c.tags +6e7def475cffccc1bf79da98518309ae gnt.c.tags +0da3e49a2f4288e8d0a55e5ac1b57a30 gtk220.c.tags +5daa5d0465a5a6d58093b59e69fce758 gtkscintilla-2.0.c.tags +e934ead8f360a0908429a653b1bde54b gtksourceview-3.0.c.tags +a5d3d36719bdb5d51ebd81130ea84992 libdevhelp-2.0.c.tags +adc3b47ffea5badb846507fff1d8a961 libgdl-3.0.c.tags +94f765658c159b7c196b96f26aaca11d libxml-2.0.c.tags +6d3b51dd8e99a82c8c055804319f5c97 sqlite3.c.tags +676ae1e2f01b1baf716e11700a05d94e standard.css.tags +5f8f1dec5d3afa0105c7d760be0932f3 std.glsl.tags +d45fae42c5733e081a745fcbb31d5f23 std.latex.tags +764e506272214ac75d55a224afca1e01 std.vala.tags +faa05eceb4d806e0c9f7476e4644a65b v4l2.c.tags +d046ab5c4e7ab2a6ba8961285edc4b2d webkit-1.0.c.tags +0e51399cc03d094d15b389a2f89dea51 wordpress.php.tags +8f873570cc244b9185ae26e560887490 xfce46.c.tags +4821553235a2b6752356229ba64631b6 tcl.tcl.tags" -- cgit v1.2.3