summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c8943da0f509..78bb58e3a588 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed Nov 9 22:32:01 UTC 2016
+# Thu Nov 10 00:56:22 UTC 2016
pkgbase = spotify-adkiller-git
pkgdesc = Your Party with Spotify - without ads!
pkgver = r155.1fa0ff9
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/SecUpwN/Spotify-AdKiller
arch = any
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index d7ebac3dc6ec..39c50e388368 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=spotify-adkiller-git
pkgver=r155.1fa0ff9
-pkgrel=1
+pkgrel=2
pkgdesc='Your Party with Spotify - without ads!'
arch=('any')
url=https://github.com/SecUpwN/Spotify-AdKiller
@@ -17,12 +17,12 @@ source=("git+$url.git")
sha512sums=('SKIP')
pkgver() {
- cd ${pkgname%-*}
+ cd ${url##*/}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
- cd ${pkgname%-*}
+ cd ${url##*/}
install -Dm755 ${pkgname%-*}.sh "$pkgdir"/usr/bin/${pkgname%-*}.sh
install -Dm755 spotify-wrapper.sh "$pkgdir"/usr/bin/spotify-wrapper.sh
install -Dm644 'Spotify (AdKiller).desktop' "$pkgdir"/usr/share/applications/'Spotify (AdKiller).desktop'