void-packages/srcpkgs/spotify-adblock-linux/template

21 lines
599 B
Bash

# Template file for 'spotify-adblock-linux'
pkgname=spotify-adblock-linux
version=1.1
revision=1
build_style=gnu-makefile
makedepends="libcurl-devel"
short_desc="Spotify adblocker for Linux"
maintainer="linarcx <linarcx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/abba23/spotify-adblock-linux"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=a543c9f1dfd434196b25ab1aaaecb5cfb56338e1687a11b3a7b7f340fae915ab
CFLAGS+=" -shared -fPIC"
do_install() {
vmkdir usr/lib
vcopy "*.so" usr/lib
vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
}