summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanskritFritz2015-06-14 00:43:15 +0200
committerSanskritFritz2015-06-14 00:43:15 +0200
commitdbe4d08130ec3b7d75db94628d58fd86456adc81 (patch)
treeec23ac2796cbed47de5deefa84a60896a5fb4038
downloadaur-dbe4d08130ec3b7d75db94628d58fd86456adc81.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c1b6ed370c6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = youtube-upload-git
+ pkgdesc = Upload videos to Youtube from the command-line.
+ pkgver = 0.8.0.r4.g072a7eb
+ pkgrel = 2
+ url = https://github.com/tokland/youtube-upload/
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = python2-google-api-python-client
+ depends = python2-progressbar
+ provides = youtube-upload
+ conflicts = youtube-upload
+ source = git+https://github.com/tokland/youtube-upload.git
+ md5sums = SKIP
+
+pkgname = youtube-upload-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4c256967b6d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor: Arnau Sanchez <tokland {at} gmail {dot} com>
+# Maintainer: SanskritFritz (gmail)
+
+pkgname=youtube-upload-git
+_gitname=youtube-upload
+pkgver=0.8.0.r4.g072a7eb
+pkgrel=2
+pkgdesc="Upload videos to Youtube from the command-line."
+arch=("any")
+url="https://github.com/tokland/youtube-upload/"
+license=('GPL3')
+depends=('python2-google-api-python-client' 'python2-progressbar')
+provides=('youtube-upload')
+conflicts=('youtube-upload')
+makedepends=("git")
+source=("git+https://github.com/tokland/youtube-upload.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$_gitname"
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "$_gitname"
+ python2 setup.py install --root=$pkgdir/ --optimize=1
+}
+