[arch-commits] Commit in (4 files)
Felix Yan
fyan at archlinux.org
Tue Sep 15 06:51:01 UTC 2015
Date: Tuesday, September 15, 2015 @ 08:51:01
Author: fyan
Revision: 140297
addpkg: deepin-gettext-tools 0.0.1.20150310-1
Added:
deepin-gettext-tools/
deepin-gettext-tools/repos/
deepin-gettext-tools/trunk/
deepin-gettext-tools/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: deepin-gettext-tools/trunk/PKGBUILD
===================================================================
--- deepin-gettext-tools/trunk/PKGBUILD (rev 0)
+++ deepin-gettext-tools/trunk/PKGBUILD 2015-09-15 06:51:01 UTC (rev 140297)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-gettext-tools
+pkgver=0.0.1.20150310
+_commit=505812cea94923cd6312f7ca1834fa9440f968ac
+pkgrel=1
+pkgdesc='Deepin Gettext Tools'
+arch=('any')
+url="https://gitcafe.com/Deepin/deepin-gettext-tools"
+license=('GPL3')
+depends=('gettext' 'python2')
+makedepends=('git')
+source=("git+https://github.com/linuxdeepin/deepin-gettext-tools.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+ cd deepin-gettext-tools
+
+ # fix python version
+ find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+
+ sed -e 's/sudo cp/cp/' -i src/generate_mo.py
+ sed -e 's/qmake/qmake-qt5/' -e '/lupdate/d' -i Makefile
+}
+
+package() {
+ cd deepin-gettext-tools
+ make DESTDIR="$pkgdir/" install
+}
Property changes on: deepin-gettext-tools/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list