summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJokler2019-11-17 02:15:55 +0100
committerJokler2019-11-17 02:15:55 +0100
commit9f13d1de9d0cb2f622885fd421ac1b62159d1c82 (patch)
treec26938c361c69c7f0d09a82420621b7c678516be
parent8ad738c409a7f85ab3cb3241ec3963e730dd6d16 (diff)
downloadaur-9f13d1de9d0cb2f622885fd421ac1b62159d1c82.tar.gz
Drop python prefix, add license and update to 1.46
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 374b4bcca00..87ba58e53da 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
-pkgbase = python-campdown
+pkgbase = campdown
pkgdesc = Bandcamp track and album downloader
- pkgver = 1.40
+ pkgver = 1.46
pkgrel = 1
url = https://github.com/catlinman/campdown/
arch = any
@@ -10,8 +10,8 @@ pkgbase = python-campdown
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
+ source = https://files.pythonhosted.org/packages/c6/cc/6be7de0c0250f97d186f5f58455161b2ae5bb96d6681b966f8a91ad2a31e/campdown-1.46.tar.gz
+ sha256sums = e91e505368157319f660c615a2fffab757a414e025b5d6e6a69dc481952ad5b0
-pkgname = python-campdown
+pkgname = campdown
diff --git a/PKGBUILD b/PKGBUILD
index 797b8f9fb8d..0cc8cf56f8d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: Jokler <jokler.contact@gmail.com>
-pkgname=python-campdown
-_pyname=campdown
-pkgver=1.40
+pkgname=campdown
+pkgver=1.46
pkgrel=1
pkgdesc="Bandcamp track and album downloader"
arch=(any)
@@ -10,14 +9,13 @@ 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')
+source=("https://files.pythonhosted.org/packages/c6/cc/6be7de0c0250f97d186f5f58455161b2ae5bb96d6681b966f8a91ad2a31e/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('e91e505368157319f660c615a2fffab757a414e025b5d6e6a69dc481952ad5b0')
package() {
- cd "${srcdir}/${_pyname}-${pkgver}"
+ cd "${srcdir}/${pkgname}-${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
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim: expandtab sw=2 ts=2