summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSven-Hendrik Haase2019-01-06 14:57:52 +0100
committerSven-Hendrik Haase2019-01-06 14:57:52 +0100
commit328ae0cbec85ca10dbe5c8558c59001171a10da2 (patch)
treebe8bd9285aa42e88ec6bddb31e9c7591d9882540 /PKGBUILD
downloadaur-328ae0cbec85ca10dbe5c8558c59001171a10da2.tar.gz
v3.6.4
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..e6c71b3e990
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
+
+pkgname=gdown
+pkgver=3.6.4
+pkgrel=1
+pkgdesc="Download a large file from Google Drive"
+arch=('any')
+url="https://github.com/wkentaro/gdown"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools' 'git')
+source=(git+https://github.com/wkentaro/gdown.git#tag=v${pkgver})
+sha512sums=('SKIP')
+
+prepare() {
+ cd "${pkgname}"
+
+ git submodule update --init
+}
+
+build() {
+ cd "${pkgname}"
+
+ python setup.py build
+}
+
+package() {
+ cd "${pkgname}"
+
+ python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1
+ install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE
+}
+# vim:set ts=2 sw=2 et: