[arch-commits] Commit in deepin-gettext-tools/repos (2 files)

Felix Yan fyan at archlinux.org
Tue Sep 15 06:51:16 UTC 2015


    Date: Tuesday, September 15, 2015 @ 08:51:16
  Author: fyan
Revision: 140298

archrelease: copy trunk to community-any

Added:
  deepin-gettext-tools/repos/community-any/
  deepin-gettext-tools/repos/community-any/PKGBUILD
    (from rev 140297, deepin-gettext-tools/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: deepin-gettext-tools/repos/community-any/PKGBUILD (from rev 140297, deepin-gettext-tools/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-09-15 06:51:16 UTC (rev 140298)
@@ -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
+}



More information about the arch-commits mailing list