[arch-commits] Commit in itstool/repos/extra-any (PKGBUILD PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Mar 12 23:04:03 UTC 2014
Date: Thursday, March 13, 2014 @ 00:04:03
Author: heftig
Revision: 207664
archrelease: copy trunk to extra-any
Added:
itstool/repos/extra-any/PKGBUILD
(from rev 207663, itstool/trunk/PKGBUILD)
Deleted:
itstool/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-03-12 23:03:33 UTC (rev 207663)
+++ PKGBUILD 2014-03-12 23:04:03 UTC (rev 207664)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
-
-pkgname=itstool
-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)
-sha256sums=('14708111b11b4a70e240e3b404d7a58941e61dbb5caf7e18833294d654c09169')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -i '1s|#!/usr/bin/python|&2|' itstool itstool.in
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-check() {
- cd $pkgname-$pkgver
- make -k check
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: itstool/repos/extra-any/PKGBUILD (from rev 207663, itstool/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-03-12 23:04:03 UTC (rev 207664)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
+
+pkgname=itstool
+pkgver=2.0.2
+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)
+sha256sums=('bf909fb59b11a646681a8534d5700fec99be83bb2c57badf8c1844512227033a')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's/| python/&2/' configure.ac
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr PYTHON=/usr/bin/python2
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make -k check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list