#Packager: Dimitris Tzemos pkgname=mpc pkgver=0.35 pkgrel=1dj source=("https://www.musicpd.org/download/$pkgname/0/$pkgname-$pkgver.tar.xz") #docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=https://www.musicpd.org/clients/mpc/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "mpc (Music Player Command)" "A client for MPD, the Music Player Daemon. mpc connects to a MPD" "running on a machine via a network." "" "Read more about MPD on https://www.musicpd.org." ) build() { cd $startdir/src/$pkgname-$pkgver cd build CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ meson .. \ --buildtype=release \ --infodir=/usr/info \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --mandir=/usr/man \ --prefix=/usr \ --sysconfdir=/etc \ -Dstrip=true "${NINJA:=ninja}" DESTDIR=$startdir/pkg $NINJA install || return 1 cd .. rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la }