Date: Tuesday, January 31, 2023 @ 19:59:42
Author: felixonmars
Revision: 1391507
archrelease: copy trunk to community-any
Added:
ydcv/repos/community-any/PKGBUILD
(from rev 1391506, ydcv/trunk/PKGBUILD)
Deleted:
ydcv/repos/community-any/PKGBUILD
----------+
PKGBUILD | 47 +++++++++++++++++++++++------------------------
1 file changed, 23 insertions(+), 24 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 19:59:30 UTC (rev 1391506)
+++ PKGBUILD 2023-01-31 19:59:42 UTC (rev 1391507)
@@ -1,24 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# 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.7
-pkgrel=5
-arch=("any")
-url="https://github.com/felixonmars/ydcv"
-license=("GPL")
-depends=('python')
-makedepends=('python-setuptools-scm' 'python-setuptools-markdown')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/felixonmars/$pkgname/archive/$pkgver.tar.gz")
-sha512sums=('04277b2cc586bf19b0cd8cb52c0287ac75b235f72cbab19358a962f14de74f042cc90da1ec7ded06e3ce07a4694a6511599ce9213485ed0e4d40a84d296663bf')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-package() {
- cd $pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 contrib/zsh_completion
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ydcv/repos/community-any/PKGBUILD (from rev 1391506,
ydcv/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 19:59:42 UTC (rev 1391507)
@@ -0,0 +1,23 @@
+# Maintainer: Felix Yan <[email protected]>
+# 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.7
+_commit=bd73c0a0b09587ef64794c593253a5b464e2e52e
+pkgrel=6
+arch=("any")
+url="https://github.com/felixonmars/ydcv"
+license=("GPL")
+depends=('python')
+makedepends=('git' 'python-setuptools-scm' 'python-setuptools-markdown')
+source=("git+https://github.com/felixonmars/ydcv.git#commit=$_commit")
+sha512sums=('SKIP')
+
+package() {
+ cd ydcv
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 contrib/zsh_completion
"$pkgdir"/usr/share/zsh/site-functions/_$pkgname
+}
+
+# vim:set ts=2 sw=2 et: