Date: Wednesday, September 16, 2015 @ 18:09:42
  Author: fyan
Revision: 140379

upgpkg: ydcv 0.4-1

Modified:
  ydcv/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-09-16 15:23:36 UTC (rev 140378)
+++ PKGBUILD    2015-09-16 16:09:42 UTC (rev 140379)
@@ -1,9 +1,10 @@
 # $Id$
-# Maintainer: Felix Yan <felixonm...@gmail.com>
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor : Fernando "Firef0x" G.P. da Silva <firefgx { aT ) gmail [ d0t } 
com>
 
 pkgname=ydcv
-pkgdesc="YouDao Console Version - Simple wrapper for Youdao online translate 
(Chinese <-> English) service API, as an alternative to the StarDict Console 
Version(sdcv)"
-pkgver=0.3.6
+pkgdesc="YouDao Console Version - Simple wrapper for Youdao online translate 
(Chinese <-> English) service API, as an alternative to the StarDict Console 
Version (sdcv)"
+pkgver=0.4
 pkgrel=1
 arch=("any")
 url="https://github.com/felixonmars/ydcv";
@@ -14,7 +15,9 @@
 md5sums=('SKIP')
 
 package() {
-  install -Dm755 $pkgname/${pkgname}.py "${pkgdir}/usr/bin/$pkgname"
+  cd $pkgname
+  install -Dm755 ${pkgname}.py "${pkgdir}/usr/bin/$pkgname"
+  install -Dm644 contrib/zsh_completion 
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to