makedeb


spotify-adblock-git 105793f62022.03.15-2


Adblocker for Spotify

Click here to go back to the commit logs for spotify-adblock-git.

Commit:


Hash: b249e47a24d3cea3e5ad909845bef7efac486811

Message: minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index e97b872..9553947 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,23 @@
-generated-by = makedeb-makepkg
-
-pkgbase = spotify-adblock-git
-	pkgdesc = Adblocker for Spotify
-	pkgver = 151.0.0.6.gd129a8d2021.08.22
-	pkgrel = 1
-	url = https://github.com/abba23/spotify-adblock
-	arch = x86_64
-	license = GPL3
-	makedepends = git
-	makedepends = rustc
-	makedepends = cargo
-	depends = spotify
-	provides = spotify-adblock
-	conflicts = spotify-adblock
-	backup = etc/spotify-adblock/config.toml
-	source = spotify-adblock::git+https://github.com/abba23/spotify-adblock.git
-	source = spotify-adblock.desktop
-	sha512sums = SKIP
-	sha512sums = 69f497a0b869e855b7c6c733c73ee3f285000d56543bf5083382fe1957a9be9a27f8e7eff6e3ef5ccaf5c12ee7750c7e8561bef54e688e5b8b738b320f5cf90a
-
+generated-by = makedeb
 pkgname = spotify-adblock-git
+pkgbase = spotify-adblock-git
+pkgdesc = Adblocker for Spotify
+pkgrel = 2
+pkgver = 105793f62022.03.15
+url = https://github.com/abba23/spotify-adblock
+arch = amd64
+backup = /etc/spotify-adblock/config.toml
+conflicts = spotify-adblock
+depends = spotify
+license = GPL3
+makedepends = git
+makedepends = rustc
+makedepends = cargo
+provides = spotify-adblock
+source = spotify-adblock::git+https://github.com/abba23/spotify-adblock.git
+source = spotify-adblock.desktop
+sha512sums = SKIP
+sha512sums = 69f497a0b869e855b7c6c733c73ee3f285000d56543bf5083382fe1957a9be9a27f8e7eff6e3ef5ccaf5c12ee7750c7e8561bef54e688e5b8b738b320f5cf90a
+makedepends = git
+makedepends = rustc
+makedepends = cargo
diff --git a/PKGBUILD b/PKGBUILD
index 05c944e..005ba0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
 # Maintainer: only_vip <onlyme_vip@protonmail.com>
 pkgname=spotify-adblock-git
 _pkgname=${pkgname%-*}
-pkgver=151.0.0.6.gd129a8d2021.08.22
-pkgrel=1
+pkgver=105793f62022.03.15
+pkgrel=2
 #epoch=1
 license=("GPL3")
 pkgdesc="Adblocker for Spotify"
 depends=("spotify")
 makedepends=("git" "rustc" "cargo")
-arch=("x86_64")
+arch=("amd64")
 provides=("spotify-adblock")
 conflicts=("spotify-adblock")
 url=https://github.com/abba23/spotify-adblock
 
-backup=("etc/spotify-adblock/config.toml")
+backup=("/etc/spotify-adblock/config.toml")
 
 source=("${_pkgname}::git+${url}.git"
 		"${_pkgname}.desktop")
@@ -23,10 +23,10 @@ sha512sums=('SKIP'
 
 pkgver() {
 	cd "${srcdir}/${_pkgname}"
-    _tag=$(git describe --tags | sed -e 's:-:.:g' -e 's:v::') # tag is mobile, and switches between numbers and letters, can't use it for versioning
+    _always=$(git describe --always | sed -e 's:-:.:g' -e 's:v::') # always is mobile, and switches between numbers and letters, can't use it for versioning
     _commits=$(git rev-list --count HEAD | sed 's:-:.:g') # total commits is the most sane way of getting incremental pkgver
     _date=$(git log -1 --date=short --pretty=format:%cd)
-    printf "%s%s%s\n" "${_commits}" "${_tag}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
+    printf "%s%s%s\n" "${_commits}" "${_always}" "${_date}" | sed -e 's:-:.:g'  -e 's:_:.:g'
 }
 
 build() {