summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamim Pezeshki2017-07-14 17:12:14 +0430
committerSamim Pezeshki2017-07-14 17:12:14 +0430
commit317404c39b4fe836696bb52f7fbbfb280ea41cde (patch)
treecba73b3960ede8df5565282bb8618bef0d51f0d0
parent24cb66abed72d51d74b460061354bc260962d5ba (diff)
downloadaur-317404c39b4fe836696bb52f7fbbfb280ea41cde.tar.gz
Update srcinfo
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD22
2 files changed, 3 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e643ab82a14..c63b8818236 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = spotify-dl-git
- pkgdesc = Script that allows you to download Spotify songs or playlists
+ pkgdesc = Script that allows you to download Spotify songs or playlists from Youtube
pkgver = r9.97bdc5c
pkgrel = 1
url = https://github.com/invicnaper/spotify-dl
diff --git a/PKGBUILD b/PKGBUILD
index 4d6b8dc7d6c..d96905f51e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,29 +1,18 @@
##
-# Maintainer: pyamsoft <pyam(dot)soft(at)gmail(dot)com>
+# Maintainer: psamim <psamim(at)gmail(dot)com>
##
_gitname=spotify-dl
-# shellcheck disable=SC2034
pkgname=spotify-dl-git
-# shellcheck disable=SC2034
-pkgdesc="Script that allows you to download Spotify songs or playlists"
-# shellcheck disable=SC2034
+pkgdesc="Script that allows you to download Spotify songs or playlists from Youtube"
pkgver=r9.97bdc5c
-# shellcheck disable=SC2034
pkgrel=1
-# shellcheck disable=SC2034
arch=('any')
-# shellcheck disable=SC2034
makedepends=('git')
-# shellcheck disable=SC2034
depends=('python2-beautifulsoup4' 'youtube-dl')
-# shellcheck disable=SC2034
optdepends=()
-# shellcheck disable=SC2034
provides=('spotify-dl')
-# shellcheck disable=SC2034
conflicts=('spotify-dl')
-# shellcheck disable=SC2034
license=('GPL3')
url="https://github.com/invicnaper/spotify-dl"
@@ -31,14 +20,10 @@ url="https://github.com/invicnaper/spotify-dl"
# The SHA256 is constantly changing since this is
# pulled from git so skip the verification check
##
-# shellcheck disable=SC2034
-# shellcheck disable=SC2034
source=("${_gitname}::git+${url}#branch=master" "01-change-hashbang.patch")
sha256sums=('SKIP'
'34b8600fd2c39707ab481373e9feee8a7f0acd3ac06cad64966224fe276f44c4')
-###############################################################################
-
pkgver() {
# shellcheck disable=SC2154
cd "$srcdir/$_gitname" || {
@@ -52,7 +37,6 @@ pkgver() {
}
prepare() {
- # shellcheck disable=SC2154
cd "$srcdir/$_gitname" || {
msg "Could not cd into $srcdir/$_gitname"
return 1
@@ -63,13 +47,11 @@ prepare() {
}
package() {
- # shellcheck disable=SC2154
cd "$srcdir/$_gitname" || {
msg "Could not cd into $srcdir/$_gitname"
return 1
}
- # shellcheck disable=SC2154
install -Dm 755 "spotify-dl.py" "${pkgdir}/usr/bin/${_gitname}"
install -Dm 644 "GPLv3.txt" "${pkgdir}/usr/share/doc/${_gitname}/LICENSE"
install -Dm 644 "README.md" "${pkgdir}/usr/share/doc/${_gitname}/README"