diff options
author | Jokler | 2019-01-13 00:43:02 +0100 |
---|---|---|
committer | Jokler | 2019-01-13 00:43:02 +0100 |
commit | 8ad738c409a7f85ab3cb3241ec3963e730dd6d16 (patch) | |
tree | c739cd55f172e3eca6efef62ccebc38a8d0f7e67 /PKGBUILD | |
download | aur-8ad738c409a7f85ab3cb3241ec3963e730dd6d16.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..797b8f9fb8db --- /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 |