void-packages/srcpkgs/pianobar/template
2017-09-17 07:57:43 +00:00

20 lines
719 B
Bash

# Template file for 'pianobar'
pkgname=pianobar
version=2017.08.30
revision=1
hostmakedepends="pkg-config"
makedepends="libcurl-devel faad2-devel libao-devel gnutls-devel libgcrypt-devel json-c-devel ffmpeg-devel"
short_desc="A free/open-source, console-based client for Pandora radio"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://6xq.net/projects/pianobar/"
distfiles="https://github.com/PromyLOPh/pianobar/archive/${version}.tar.gz"
checksum=d164416e01cb0f1fd05fd9db20aa75f42659d71acbe50375e7f3f894e3de66e0
do_build() {
make CC="$CC -std=c99" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" V=1 ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense COPYING LICENSE
}