void-packages/srcpkgs/gmpc/template

32 lines
950 B
Bash

# Template file for 'gmpc'
pkgname=gmpc
version=11.8.16
revision=3
build_style=gnu-configure
configure_args="--with-locales-dir=/usr/share/locale"
hostmakedepends="pkg-config gob2 intltool vala"
makedepends="gtk+-devel libSM-devel libmpd-devel libunique1-devel libsoup-devel sqlite-devel"
depends="xdg-utils hicolor-icon-theme"
checkdepends="gnome-doc-utils"
short_desc="Gnome Music Player Client - The true MPD client"
maintainer="Dave Davenport <qball@gmpclient.org>"
license="GPL-2.0-or-later"
homepage="http://gmpclient.org/"
distfiles="http://download.sarine.nl/Programs/gmpc/${version%.*}/gmpc-${version}.tar.gz"
checksum=a69414f35396846733632ca9619921d7acda537ffd6d49bd84b444945cb76b2c
LDFLAGS="-lm"
post_patch() {
vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure
}
gmpc-devel_package() {
short_desc+=" - development files"
depends="gtk+-devel libmpd-devel"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}