void-packages/srcpkgs/mpdas/template

27 lines
748 B
Bash

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