[arch-commits] Commit in geany/repos (6 files)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Sun Mar 10 22:03:28 UTC 2013
Date: Sunday, March 10, 2013 @ 23:03:28
Author: arodseth
Revision: 85997
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
geany/repos/community-staging-i686/
geany/repos/community-staging-i686/PKGBUILD
(from rev 85996, geany/trunk/PKGBUILD)
geany/repos/community-staging-i686/geany.install
(from rev 85996, geany/trunk/geany.install)
geany/repos/community-staging-x86_64/
geany/repos/community-staging-x86_64/PKGBUILD
(from rev 85996, geany/trunk/PKGBUILD)
geany/repos/community-staging-x86_64/geany.install
(from rev 85996, geany/trunk/geany.install)
----------------------------------------+
community-staging-i686/PKGBUILD | 47 +++++++++++++++++++++++++++++++
community-staging-i686/geany.install | 14 +++++++++
community-staging-x86_64/PKGBUILD | 47 +++++++++++++++++++++++++++++++
community-staging-x86_64/geany.install | 14 +++++++++
4 files changed, 122 insertions(+)
Copied: geany/repos/community-staging-i686/PKGBUILD (from rev 85996, geany/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-03-10 22:03:28 UTC (rev 85997)
@@ -0,0 +1,47 @@
+# $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.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'
+ 'geany-plugins: various extra features'
+ 'python2')
+install="$pkgname.install"
+options=('!libtool')
+source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2")
+sha256sums=('cdd4a772694803c837ae59e56f7bdc2faba174509317211f522e7d25dfcbe8b0')
+
+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() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: geany/repos/community-staging-i686/geany.install (from rev 85996, geany/trunk/geany.install)
===================================================================
--- community-staging-i686/geany.install (rev 0)
+++ community-staging-i686/geany.install 2013-03-10 22:03:28 UTC (rev 85997)
@@ -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:
Copied: geany/repos/community-staging-x86_64/PKGBUILD (from rev 85996, geany/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-03-10 22:03:28 UTC (rev 85997)
@@ -0,0 +1,47 @@
+# $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.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'
+ 'geany-plugins: various extra features'
+ 'python2')
+install="$pkgname.install"
+options=('!libtool')
+source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2")
+sha256sums=('cdd4a772694803c837ae59e56f7bdc2faba174509317211f522e7d25dfcbe8b0')
+
+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() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: geany/repos/community-staging-x86_64/geany.install (from rev 85996, geany/trunk/geany.install)
===================================================================
--- community-staging-x86_64/geany.install (rev 0)
+++ community-staging-x86_64/geany.install 2013-03-10 22:03:28 UTC (rev 85997)
@@ -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