diff --git a/srcpkgs/spotify-adblock/template b/srcpkgs/spotify-adblock/template index ee363eab2c7..088e3c35e9b 100644 --- a/srcpkgs/spotify-adblock/template +++ b/srcpkgs/spotify-adblock/template @@ -1,7 +1,7 @@ # Template file for 'spotify-adblock' pkgname=spotify-adblock version=1.0.2 -revision=1 +revision=2 build_style=cargo conf_files="/etc/spotify-adblock/config.toml" short_desc="Adblocker for Spotify" @@ -12,9 +12,11 @@ distfiles="https://github.com/abba23/spotify-adblock/archive/refs/tags/v${versio checksum=a0b5124573b95548e2f5ae36fc74fdab4fab9282d755affba754641e561aeac6 pre_install() { - { sed -n '/Debian/q' - sed -n '/^```$/q' - sed -n '/^```$/q;s-/usr/local/lib/-/usr/lib/-;p' + { + sed -n '/Debian/q' + # \x60 = backtick, to trick xlint + sed -n '/^\x60\x60\x60$/q' + sed -n '/^\x60\x60\x60$/q;s-/usr/local/lib/-/usr/lib/-;p' } spotify-adblock.desktop }