summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel M. Capella2018-11-14 23:34:52 -0500
committerDaniel M. Capella2018-11-14 23:34:52 -0500
commit4592058308c6056058ccea35ef7979f7c8bca045 (patch)
treed85c6fa28cb36edc159c738eca72780d82d30fac
parent7e890a79066113b63a7a1c7d0cabf87ba4051081 (diff)
downloadaur-4592058308c6056058ccea35ef7979f7c8bca045.tar.gz
Touch up
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 70e8a35c70b..7ca9f065f3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,3 @@
-# Generated by mksrcinfo v8
-# Wed Nov 14 06:20:10 UTC 2018
pkgbase = spotify-adkiller-git
pkgdesc = Your Party with Spotify - without ads!
pkgver = r177.2dabf81
diff --git a/PKGBUILD b/PKGBUILD
index 5f0415424c8..7aba2c4014f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,9 +21,15 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd ${url##*/}
+ sed -i 's/.sh//' spotify-wrapper.sh
+}
+
package() {
cd ${url##*/}
- install -Dt "$pkgdir"/usr/bin ${pkgname%-*}.sh spotify-wrapper.sh
+ install -D ${pkgname%-*}.sh "$pkgdir"/usr/bin/${pkgname%-*}
+ install -D spotify-wrapper.sh "$pkgdir"/usr/bin/spotify-wrapper
install -Dm644 -t "$pkgdir"/usr/share/applications 'Spotify (AdKiller).desktop'
}