ncmpcpp: really install example conf files to usr/share/examples

This commit is contained in:
Alessio Sergi 2015-07-14 19:14:00 +02:00
parent 7dd136856c
commit 7ff62625f4

View file

@ -1,12 +1,11 @@
# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.6.5
revision=1
revision=2
build_style=gnu-configure
configure_args="
BOOST_LIB_SUFFIX= --enable-clock --enable-outputs --enable-unicode
--enable-visualizer --with-curl --with-taglib --with-fftw
--docdir=/usr/share/examples/ncmpcpp"
--enable-visualizer --with-curl --with-taglib --with-fftw"
hostmakedepends="pkg-config"
makedepends="boost-devel ncurses-devel readline-devel libmpdclient-devel
libcurl-devel taglib-devel fftw-devel"
@ -18,5 +17,9 @@ distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=51128f6835c592c8d4367a66b08e06a9419a86c9d5c6e91d0f1dc73af56cd1fd
pre_configure() {
sed -i 's/doc_DATA =.*/doc_DATA =/' Makefile.in
sed -i '/^docdir/d' {,doc/}Makefile.in
}
post_install() {
vsconf doc/bindings
vsconf doc/config
}