[arch-commits] Commit in geany/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Sun Dec 6 16:25:47 UTC 2015
Date: Sunday, December 6, 2015 @ 17:25:46
Author: arojas
Revision: 148873
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 148872, geany/trunk/PKGBUILD)
geany/repos/community-staging-i686/geany.install
(from rev 148872, geany/trunk/geany.install)
geany/repos/community-staging-x86_64/
geany/repos/community-staging-x86_64/PKGBUILD
(from rev 148872, geany/trunk/PKGBUILD)
geany/repos/community-staging-x86_64/geany.install
(from rev 148872, geany/trunk/geany.install)
----------------------------------------+
community-staging-i686/PKGBUILD | 49 +++++++++++++++++++++++++++++++
community-staging-i686/geany.install | 14 ++++++++
community-staging-x86_64/PKGBUILD | 49 +++++++++++++++++++++++++++++++
community-staging-x86_64/geany.install | 14 ++++++++
4 files changed, 126 insertions(+)
Copied: geany/repos/community-staging-i686/PKGBUILD (from rev 148872, geany/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 16:25:46 UTC (rev 148873)
@@ -0,0 +1,49 @@
+# $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.26
+pkgrel=2
+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=('e38530e87c577e1e9806be3b40e08fb9ee321eb1abc6361ddacdad89c825f90d')
+
+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
+}
+
+# getver: -u 7 geany.org/Documentation/ReleaseNotes
+# vim:set ts=2 sw=2 et:
Copied: geany/repos/community-staging-i686/geany.install (from rev 148872, geany/trunk/geany.install)
===================================================================
--- community-staging-i686/geany.install (rev 0)
+++ community-staging-i686/geany.install 2015-12-06 16:25:46 UTC (rev 148873)
@@ -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 148872, geany/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 16:25:46 UTC (rev 148873)
@@ -0,0 +1,49 @@
+# $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.26
+pkgrel=2
+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=('e38530e87c577e1e9806be3b40e08fb9ee321eb1abc6361ddacdad89c825f90d')
+
+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
+}
+
+# getver: -u 7 geany.org/Documentation/ReleaseNotes
+# vim:set ts=2 sw=2 et:
Copied: geany/repos/community-staging-x86_64/geany.install (from rev 148872, geany/trunk/geany.install)
===================================================================
--- community-staging-x86_64/geany.install (rev 0)
+++ community-staging-x86_64/geany.install 2015-12-06 16:25:46 UTC (rev 148873)
@@ -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