diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-10-20 11:12:20 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-10-20 11:12:20 -0300 |
commit | 5c0a5f2b9fa7f1683f279728342aa7f5f0cf90a3 (patch) | |
tree | a55da6178b48e7abe9508505d3e92cf02a03da52 /community/geany | |
parent | c56b2c50f5748090efb9f10f2a021e57a2455764 (diff) | |
parent | 1a136cf48dd7f710f38ff998182508f5a0d41c35 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/comix/PKGBUILD
community/geany/PKGBUILD
community/gnome-do-docklets/PKGBUILD
community/gnome-do-plugins/PKGBUILD
community/gnome-system-tools/PKGBUILD
community/gnustep-make/PKGBUILD
community/gtweakui/PKGBUILD
community/hwinfo/PKGBUILD
community/kungfu/PKGBUILD
community/liboauth/PKGBUILD
community/liboobs/PKGBUILD
community/lua-lzlib/PKGBUILD
community/mcdp/PKGBUILD
community/mingw32-gcc-base/PKGBUILD
community/mingw32-runtime/PKGBUILD
community/mplayer2/PKGBUILD
community/pdf2svg/PKGBUILD
community/perl-data-dumper/PKGBUILD
community/perl-digest-md5/PKGBUILD
community/perl-perlio-eol/PKGBUILD
community/perl-xml-libxslt/PKGBUILD
community/python-cherrypy/PKGBUILD
community/python-pexpect/PKGBUILD
community/python-pyro/PKGBUILD
community/python2-cherrypy/PKGBUILD
community/rexima/PKGBUILD
community/shp2svg/PKGBUILD
community/system-tools-backends/PKGBUILD
community/tracker/PKGBUILD
community/virtualbox/PKGBUILD
core/bridge-utils/PKGBUILD
extra/avidemux/PKGBUILD
extra/beagle/PKGBUILD
extra/bug-buddy/PKGBUILD
extra/dssi/PKGBUILD
extra/evolution-sharp/PKGBUILD
extra/evolution-webcal/PKGBUILD
extra/feh/PKGBUILD
extra/ffmpeg/PKGBUILD
extra/gnome-mag/PKGBUILD
extra/gnome-python-desktop/PKGBUILD
extra/gnutls/PKGBUILD
extra/gok/PKGBUILD
extra/gpsd/PKGBUILD
extra/gstreamer0.10-ugly/PKGBUILD
extra/hyphen/PKGBUILD
extra/kdelibs/PKGBUILD
extra/keytouch-editor/PKGBUILD
extra/keytouch/PKGBUILD
extra/koffice/PKGBUILD
extra/krusader/PKGBUILD
extra/libbeagle/PKGBUILD
extra/libffi/PKGBUILD
extra/libgnomeuimm/PKGBUILD
extra/libreoffice/PKGBUILD
extra/m17n-lib/PKGBUILD
extra/mtr/PKGBUILD
extra/openbabel/PKGBUILD
extra/poppler/PKGBUILD
extra/pulseaudio/PKGBUILD
extra/rox/PKGBUILD
extra/transmission/PKGBUILD
extra/xf86-input-synaptics/PKGBUILD
extra/xorg-server/PKGBUILD
extra/xorg-xinit/PKGBUILD
kde-unstable/calligra/PKGBUILD
libre/icecat/PKGBUILD
libre/linux-libre/PKGBUILD
multilib/lib32-ncurses/PKGBUILD
multilib/lib32-openssl/PKGBUILD
multilib/lib32-talloc/PKGBUILD
multilib/wine/PKGBUILD
Diffstat (limited to 'community/geany')
-rw-r--r-- | community/geany/PKGBUILD | 38 | ||||
-rw-r--r-- | community/geany/geany.install | 11 |
2 files changed, 29 insertions, 20 deletions
diff --git a/community/geany/PKGBUILD b/community/geany/PKGBUILD index 931495c68..89b1c5700 100644 --- a/community/geany/PKGBUILD +++ b/community/geany/PKGBUILD @@ -1,37 +1,43 @@ -# $Id: PKGBUILD 36732 2011-01-06 18:13:58Z angvp $ -# Maintainer: Angel Velasquez <angvp@archlinux.org> +# $Id: PKGBUILD 56636 2011-10-09 11:13:50Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Angel Velasquez <angvp@archlinux.org> # Contributor: Ionut Biru <ibiru@archlinux.ro> # Contributor: William Rea <sillywilly@gmail.com> # Contributor: Allan McRae <mcrae_allan@hotmail.com> - pkgname=geany -pkgver=0.20 +pkgver=0.21 pkgrel=1 -pkgdesc="A fast and lightweight IDE" +pkgdesc="Fast and lightweight IDE" arch=('i686' 'x86_64' 'mips64el') -url="http://www.geany.org" +url="http://www.geany.org/" license=('GPL') -depends=('gtk2>=2.8.0') +depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils' 'python2') makedepends=('perlxml' 'intltool') optdepends=("vte: for terminal support") install=geany.install -source=(http://download.geany.org/$pkgname-$pkgver.tar.gz) +source=("http://download.geany.org/${pkgname}-${pkgver}.tar.gz") options=('!libtool') -md5sums=('7e7d6e4a40e04ecacb9bc317f97becfb') +md5sums=('d2734776badc3f5f9a778814ed56fb8a') build() { - cd ${srcdir}/$pkgname-$pkgver - - # python2 fix - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' data/templates/files/main.py + cd "${srcdir}/${pkgname}-${pkgver}" + msg2 "Configuring..." ./configure --prefix=/usr + msg2 "Compiling..." make - - # FS#10318 + msg2 "Python2 fix..." + sed -i '0,/on/s//on2/' data/templates/files/main.py + msg2 "Fixing FS#10318..." sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop - # Add colors for PKGBUILD file + msg2 "Enabling colors for PKGBUILD files..." sed -i 's|Sh=|Sh=PKGBUILD;|' data/filetype_extensions.conf +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install } + +# vim:set ts=2 sw=2 et: diff --git a/community/geany/geany.install b/community/geany/geany.install index 7e83162e5..4cd573a65 100644 --- a/community/geany/geany.install +++ b/community/geany/geany.install @@ -1,13 +1,16 @@ pkgname=geany -post_install() { +post_upgrade() { gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q } -post_upgrade() { - post_install +post_install() { + post_upgrade } post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_upgrade } + +# vim:set ts=2 sw=2 et: |