[arch-commits] Commit in itstool/trunk (PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Sat Nov 2 17:52:03 UTC 2013
Date: Saturday, November 2, 2013 @ 18:52:03
Author: heftig
Revision: 198740
2.0.0 (tried to use python3, but failed. it's not compatible)
Modified:
itstool/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-02 17:33:56 UTC (rev 198739)
+++ PKGBUILD 2013-11-02 17:52:03 UTC (rev 198740)
@@ -3,19 +3,23 @@
# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
pkgname=itstool
-pkgver=1.2.0
+pkgver=2.0.0
pkgrel=1
pkgdesc="XML to PO and back again"
arch=(any)
url="http://itstool.org/"
license=(GPL3)
+depends=(python2 libxml2)
source=(http://files.itstool.org/itstool/$pkgname-$pkgver.tar.bz2)
-depends=(python2 libxml2)
-sha256sums=('46fed63fb89c72dbfc03097b4477084ff05ad6f171212d8f1f1546ea543978aa')
+sha256sums=('14708111b11b4a70e240e3b404d7a58941e61dbb5caf7e18833294d654c09169')
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i '1s|#!/usr/bin/python|&2|' itstool itstool.in
+}
+
build() {
cd $pkgname-$pkgver
- sed -i '1s|#!/usr/bin/python|&2|' itstool itstool.in
./configure --prefix=/usr
make
}
More information about the arch-commits
mailing list