[arch-commits] Commit in itstool/repos (3 files)
Ionut Biru
ibiru at archlinux.org
Wed Sep 28 19:32:03 UTC 2011
Date: Wednesday, September 28, 2011 @ 15:32:03
Author: ibiru
Revision: 138982
db-move: moved itstool from [gnome-unstable] to [testing] (any)
Added:
itstool/repos/testing-any/
itstool/repos/testing-any/PKGBUILD
(from rev 138832, itstool/repos/gnome-unstable-any/PKGBUILD)
Deleted:
itstool/repos/gnome-unstable-any/
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: itstool/repos/testing-any/PKGBUILD (from rev 138832, itstool/repos/gnome-unstable-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2011-09-28 19:32:03 UTC (rev 138982)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: Michael Pusterhofer <pusterhofer(at)student(dot)tugraz(dot)at>
+
+pkgname=itstool
+pkgver=1.1.0
+pkgrel=3
+pkgdesc="XML to PO and back again"
+arch=(any)
+url="http://itstool.org/"
+license=(GPL3)
+source=(http://files.itstool.org/itstool/$pkgname-$pkgver.tar.bz2)
+depends=(python2 libxml2)
+md5sums=('088290c44c222abe656ae9366bbfa496')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ sed -i '1s|#!/usr/bin/python|&2|' itstool itstool.in
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list