summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristoph Stahl2016-03-06 19:31:43 +0100
committerChristoph Stahl2016-03-06 19:31:43 +0100
commit74d88284abf6f341416891e3d7bf5eea25c8e632 (patch)
treea2b58a54e7105d9082dd1a979e1cd2fddf4b09a7 /PKGBUILD
downloadaur-74d88284abf6f341416891e3d7bf5eea25c8e632.tar.gz
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9b680c5ca79
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Current Packager: Christoph Stahl <christoph.stahl@uni-dortmund.de>
+
+_pipname=pySmartDL
+pkgbase=python-pysmartdl
+pkgname=('python2-pysmartdl' 'python-pysmartdl')
+pkgver=1.2.4
+pkgrel=1
+pkgdesc="A Smart Download Manager for Python"
+arch=('any')
+url="https://github.com/iTaybb/pySmartDL/"
+license=('Public Domain')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://pypi.python.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$pkgver.tar.gz")
+md5sums=('4935dab07663b2f78ead0544af11bf2b')
+
+
+prepare() {
+ cp -R $_pipname-$pkgver python2-$_pipname-$pkgver
+}
+
+package_python2-pysmartdl() {
+depends=('python2-futures')
+
+ cd python2-$_pipname-$pkgver
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python-pysmartdl() {
+
+ cd $_pipname-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+