mpdas: template cleanup

This commit is contained in:
Alessio Sergi 2017-06-25 11:47:42 +02:00
parent 3c70097e54
commit 356af63434

View file

@ -2,20 +2,24 @@
pkgname=mpdas
version=0.4.2
revision=2
build_style="gnu-makefile"
hostmakedepends="gcc pkg-config"
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"
depends="mpd libmpdclient libcurl"
short_desc="MPD AudioScrobbler written in C++ using libcurl"
maintainer="ibrokemypie <ibrokemypie@bastardi.net>"
license="BSD-3"
license="3-clause-BSD"
homepage="http://50hz.ws/mpdas/"
distfiles="https://github.com/hrkfdn/mpdas/archive/${version}.tar.gz"
checksum=8ebdd0518cbdb033fc0578c9ea894d4670de1d67bf2541418cb5f7ac1210db6f
pre_install() {
export MANPREFIX=/usr/share/man/man1
pre_build() {
# make the build verbose and helpful
sed -i 's/@$(/$(/' Makefile
}
post_install() {
vdoc README
vlicense LICENSE
vsconf mpdasrc.example
}