[arch-commits] Commit in geany/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Mon May 20 18:58:03 UTC 2013
Date: Monday, May 20, 2013 @ 20:58:03
Author: arodseth
Revision: 91267
upgpkg: geany 1.23.1-1
Modified:
geany/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-20 18:51:21 UTC (rev 91266)
+++ PKGBUILD 2013-05-20 18:58:03 UTC (rev 91267)
@@ -6,7 +6,7 @@
# Contributor: Allan McRae <mcrae_allan at hotmail.com>
pkgname=geany
-pkgver=1.23
+pkgver=1.23.1
pkgrel=1
pkgdesc='Fast and lightweight IDE'
arch=('x86_64' 'i686')
@@ -20,22 +20,26 @@
install="$pkgname.install"
options=('!libtool')
source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2")
-sha256sums=('cdd4a772694803c837ae59e56f7bdc2faba174509317211f522e7d25dfcbe8b0')
+sha256sums=('8815b16e59d8679ec359a1a5754fee05e77f7bca53083c939654bfc77d978fad')
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i '0,/on/s//on2/' data/templates/files/main.py
+
+ # Syntax highlighting for PKGBUILD files
+ sed -i 's/Sh=/Sh=PKGBUILD;/' data/filetype_extensions.conf
+}
+
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
- # Python2 fix
- sed -i '0,/on/s//on2/' data/templates/files/main.py
-
# Fix for FS#10318
setconf geany.desktop MimeType ''
-
- # Syntax highlighting for PKGBUILD files
- sed -i 's/Sh=/Sh=PKGBUILD;/' data/filetype_extensions.conf
}
package() {
More information about the arch-commits
mailing list