[arch-commits] Commit in geany/repos (3 files)

Eric Bélanger eric at archlinux.org
Sun Jan 18 20:17:24 UTC 2015


    Date: Sunday, January 18, 2015 @ 21:17:24
  Author: eric
Revision: 126137

archrelease: copy trunk to extra-x86_64

Added:
  geany/repos/extra-x86_64/
  geany/repos/extra-x86_64/PKGBUILD
    (from rev 126136, geany/trunk/PKGBUILD)
  geany/repos/extra-x86_64/geany.install
    (from rev 126136, geany/trunk/geany.install)

---------------+
 PKGBUILD      |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 geany.install |   14 ++++++++++++++
 2 files changed, 62 insertions(+)

Copied: geany/repos/extra-x86_64/PKGBUILD (from rev 126136, geany/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2015-01-18 20:17:24 UTC (rev 126137)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org> 
+# Contributor: Ionut Biru  <ibiru at archlinux.ro>
+# Contributor: William Rea <sillywilly at gmail.com>
+# Contributor: Allan McRae <mcrae_allan at hotmail.com>
+
+pkgname=geany
+pkgver=1.24.1
+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=('perl-xml-parser' 'setconf' 'intltool')
+optdepends=('geany-plugins: various extra features'
+            'vte: terminal support'
+            'python2')
+install="$pkgname.install"
+source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2")
+sha256sums=('7fb505d9b01fe6874890525f837644a6a38c23a372bb068c65ef3673108a8c33')
+
+prepare() {
+  cd "$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 "$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+
+  # Fix for FS#10318
+  setconf geany.desktop MimeType ''
+}
+
+package() {
+  make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: geany/repos/extra-x86_64/geany.install (from rev 126136, geany/trunk/geany.install)
===================================================================
--- extra-x86_64/geany.install	                        (rev 0)
+++ extra-x86_64/geany.install	2015-01-18 20:17:24 UTC (rev 126137)
@@ -0,0 +1,14 @@
+post_upgrade() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  update-desktop-database -q
+}
+
+post_install() {
+  post_upgrade
+}
+
+post_remove() {
+  post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list