[arch-commits] Commit in scribes/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Fri May 31 13:12:13 UTC 2013
Date: Friday, May 31, 2013 @ 15:12:13
Author: foutrelis
Revision: 92093
upgpkg: scribes 0.4.954-3
Drop python2-distribute dep; not needed.
Modified:
scribes/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-31 13:04:07 UTC (rev 92092)
+++ PKGBUILD 2013-05-31 13:12:13 UTC (rev 92093)
@@ -6,18 +6,19 @@
pkgname=scribes
pkgver=0.4.954
-pkgrel=2
+pkgrel=3
pkgdesc="An ultra minimalist text editor that combines simplicity with power"
arch=('any')
url='http://scribes.sourceforge.net'
license=('GPL')
-depends=('dbus-python' 'yelp' 'pygtk' 'pygtksourceview2' 'python2-gtkspell' 'python2-distribute' 'pyxdg')
+depends=('dbus-python' 'yelp' 'pygtk' 'pygtksourceview2' 'python2-gtkspell'
+ 'pyxdg')
makedepends=('intltool' 'gnome-doc-utils')
install=$pkgname.install
source=(http://launchpad.net/scribes/${pkgver%.*}/scribes-milestone1/+download/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}.tar.bz2)
sha256sums=('f4cb765d5690f7549eb0336ce23fd0648ba548b9a9e259876e5ee2c095a4b0f1')
-build() {
+prepare() {
cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
sed -i 's/python depcheck.py/python2 depcheck.py/' configure
@@ -29,9 +30,13 @@
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' LanguagePlugins/zencoding/{zen_actions.py,zen_core.py,html_matcher.py}
sed -i 's|#! */usr/bin/env python|#!/usr/bin/env python2|' GenericPlugins/{RecentOpen/ExternalProcess/ScribesRecentFilesIndexer.py,WordCompletion/SuggestionProcess/ScribesWordCompletionSuggestionGenerator.py} SCRIBES/SaveSystem/ExternalProcess/ScribesSaveProcess.py
sed -i 's|#! */usr/bin/env python|#!/usr/bin/env python2|' scribesmodule scribesplugin
- sed -i 's|#! /usr/bin/python|#! /usr/bin/python2|' scribes.in
+ sed -i 's|#! /usr/bin/python|#! /usr/bin/python2|' scribes.in
sed -i 's|return join(prefix, "bin", "python")|return join(prefix, "bin", "python2")|' SCRIBES/SaveProcessInitializer/Initializer.py
+}
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver%.*}-dev-build${pkgver##*.}
+
PYTHON=python2 ./configure --prefix=/usr
make
}
More information about the arch-commits
mailing list