[arch-commits] Commit in you-get/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Dec 26 01:06:04 UTC 2016


    Date: Monday, December 26, 2016 @ 01:06:03
  Author: felixonmars
Revision: 202457

archrelease: copy trunk to community-staging-any

Added:
  you-get/repos/community-staging-any/
  you-get/repos/community-staging-any/PKGBUILD
    (from rev 202456, you-get/trunk/PKGBUILD)

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

Copied: you-get/repos/community-staging-any/PKGBUILD (from rev 202456, you-get/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-26 01:06:03 UTC (rev 202457)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=you-get
+pkgver=0.4.595
+pkgrel=2
+pkgdesc="A YouTube/Youku/Niconico video downloader written in Python 3."
+url="http://www.soimort.org/you-get/"
+arch=('any')
+license=('MIT')
+depends=('python-setuptools')
+makedepends=('git')
+source=("git+https://github.com/soimort/you-get.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+build() {
+  cd you-get
+  python setup.py build
+}
+
+check() {
+  cd you-get
+  LC_CTYPE=en_US.UTF-8 python setup.py test
+}
+
+package() {
+  cd you-get
+  python setup.py install --root="$pkgdir"
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list