void-packages/srcpkgs/spotify-adblock-linux/template
linarcx 3a5299491c New package: spotify-adblock-linux-1.0
Closes: #14768 [via git-merge-pr]
2019-09-29 00:38:26 +02:00

20 lines
599 B
Bash

# Template file for 'spotify-adblock-linux'
pkgname=spotify-adblock-linux
version=1.0
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=811358fd2da2ca83e76e3a0dd5ce03ddab39fc19ae9831dd0ccaf4b74abd0804
CFLAGS+=" -shared -fPIC"
do_install() {
vmkdir usr/lib
vcopy "*.so" usr/lib
vinstall ${FILESDIR}/spotify-adblock.desktop 644 usr/share/applications/
}