author | Alexander Rødseth
<xyproto@archlinux.org> 2013-03-10 21:31:39 UTC |
committer | Alexander Rødseth
<xyproto@archlinux.org> 2013-03-10 21:31:39 UTC |
parent | 6797ad9687ffd7fbb0f85cb30c87c10b3bd733d4 |
PKGBUILD | +14 | -11 |
diff --git a/PKGBUILD b/PKGBUILD index 716b229..c4fdf0a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,32 +5,35 @@ # Contributor: Allan McRae <mcrae_allan@hotmail.com> pkgname=geany -pkgver=1.22 -pkgrel=3 +pkgver=1.23 +pkgrel=1 pkgdesc='Fast and lightweight IDE' arch=('x86_64' 'i686') url="http://www.geany.org/" license=('GPL') depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils') makedepends=('perlxml' 'setconf' 'intltool') -optdepends=('vte: for terminal support' 'python2') -install=geany.install -source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2") +optdepends=('vte: for terminal support' + 'geany-plugins: various extra features' + 'python2') +install="$pkgname.install" options=('!libtool') -sha256sums=('901a35a7395ef10a80fb10b3ab63bae3871693a4e82d56388e9521a27877577e') +source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2") +sha256sums=('cdd4a772694803c837ae59e56f7bdc2faba174509317211f522e7d25dfcbe8b0') build() { cd "$srcdir/$pkgname-$pkgver" - msg2 "Configuring..." ./configure --prefix=/usr - msg2 "Compiling..." make - msg2 "Python2 fix..." + + # Python2 fix sed -i '0,/on/s//on2/' data/templates/files/main.py - msg2 "Fixing FS#10318..." + + # Fix for FS#10318 setconf geany.desktop MimeType '' - msg2 "Enabling syntax highlighting for PKGBUILD files..." + + # Syntax highlighting for PKGBUILD files sed -i 's/Sh=/Sh=PKGBUILD;/' data/filetype_extensions.conf }