[arch-commits] Commit in you-get/repos (community-any community-any/PKGBUILD)
Felix Yan
fyan at archlinux.org
Wed Oct 7 12:46:55 UTC 2015
Date: Wednesday, October 7, 2015 @ 14:46:55
Author: fyan
Revision: 143286
archrelease: copy trunk to community-any
Added:
you-get/repos/community-any/
you-get/repos/community-any/PKGBUILD
(from rev 143285, you-get/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: you-get/repos/community-any/PKGBUILD (from rev 143285, you-get/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-10-07 12:46:55 UTC (rev 143286)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=you-get
+pkgver=0.3.36
+pkgrel=1
+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 "${srcdir}"/${pkgname}
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${pkgname}
+ LC_CTYPE=en_US.UTF-8 python setup.py test
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}
+ 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