void-packages/srcpkgs/mpdas/template

26 lines
731 B
Bash
Raw Normal View History

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