summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJokler2019-01-13 00:43:02 +0100
committerJokler2019-01-13 00:43:02 +0100
commit8ad738c409a7f85ab3cb3241ec3963e730dd6d16 (patch)
treec739cd55f172e3eca6efef62ccebc38a8d0f7e67
downloadaur-8ad738c409a7f85ab3cb3241ec3963e730dd6d16.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD23
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..374b4bcca00
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-campdown
+ pkgdesc = Bandcamp track and album downloader
+ pkgver = 1.40
+ pkgrel = 1
+ url = https://github.com/catlinman/campdown/
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ depends = python-mutagen
+ depends = python-requests
+ depends = python-docopt
+ source = https://files.pythonhosted.org/packages/ba/76/4b110c02aa0f907d2cf514319670e49a4b981d9ce945aba47013c4b12c92/campdown-1.40.tar.gz
+ sha256sums = e168c0957621de2d0ef37123f6acb09bb1de30fed8a382ac4b0e2606b9ce9b2f
+
+pkgname = python-campdown
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..797b8f9fb8d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Jokler <jokler.contact@gmail.com>
+
+pkgname=python-campdown
+_pyname=campdown
+pkgver=1.40
+pkgrel=1
+pkgdesc="Bandcamp track and album downloader"
+arch=(any)
+url="https://github.com/catlinman/campdown/"
+license=(MIT)
+depends=("python" "python-mutagen" "python-requests" "python-docopt")
+makedepends=("python-setuptools")
+source=("https://files.pythonhosted.org/packages/ba/76/4b110c02aa0f907d2cf514319670e49a4b981d9ce945aba47013c4b12c92/${_pyname}-${pkgver}.tar.gz")
+sha256sums=('e168c0957621de2d0ef37123f6acb09bb1de30fed8a382ac4b0e2606b9ce9b2f')
+
+package() {
+ cd "${srcdir}/${_pyname}-${pkgver}"
+ python setup.py install -O1 --root="${pkgdir}"
+ install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
+ # TODO Add this on the next release
+ # install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+# vim: expandtab sw=2 ts=2