void-packages/srcpkgs/mpdas/template

26 lines
731 B
Bash

# Template file for 'mpdas'
pkgname=mpdas
version=0.4.4
revision=1
build_style=gnu-makefile
make_build_args="PREFIX=/usr CONFIG=/etc"
make_install_args="MANPREFIX=/usr/share/man/man1"
hostmakedepends="pkg-config"
makedepends="libmpdclient-devel libcurl-devel"
short_desc="MPD AudioScrobbler written in C++ using libcurl"
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
license="3-clause-BSD"
homepage="http://50hz.ws/mpdas/"
distfiles="https://github.com/hrkfdn/mpdas/archive/${version}.tar.gz"
checksum=b262a009ba5194bba2e140eade22c9182cdeac8bfb19de250734f8693e0b0d27
pre_build() {
# make the build verbose and helpful
sed -i 's/@$(/$(/' Makefile
}
post_install() {
vdoc README
vlicense LICENSE
vsconf mpdasrc.example
}