Date: Tuesday, November 17, 2015 @ 15:34:55 Author: fyan Revision: 146986
archrelease: copy trunk to community-any Added: deepin-gettext-tools/repos/community-any/PKGBUILD (from rev 146985, deepin-gettext-tools/trunk/PKGBUILD) Deleted: deepin-gettext-tools/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-11-17 14:34:28 UTC (rev 146985) +++ PKGBUILD 2015-11-17 14:34:55 UTC (rev 146986) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> -# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> - -pkgname=deepin-gettext-tools -pkgver=1.0.1 -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#tag=$pkgver") -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 -} Copied: deepin-gettext-tools/repos/community-any/PKGBUILD (from rev 146985, deepin-gettext-tools/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-11-17 14:34:55 UTC (rev 146986) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=deepin-gettext-tools +pkgver=1.0.2 +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#tag=$pkgver") +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 +}