summaryrefslogtreecommitdiff
path: root/ncmpcpp/Pkgfile
blob: 258023caaa81e28da8324bb1689cd57264e4b720 (plain)
    1 # Description: An almost exact clone of ncmpc with some new features
    2 # URL: https://rybczak.net/ncmpcpp/
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: boost libmpdclient
    5 # Optional: mpd fftw taglib
    6 
    7 name=ncmpcpp
    8 version=0.9.1
    9 release=1
   10 source=(https://github.com/arybczak/$name/archive/$version/$name-$version.tar.gz)
   11 
   12 build() {
   13   cd $name-$version
   14 
   15   [[ -e /usr/lib/pkgconfig/fftw3.pc ]] && PKGMK_NCMPCPP+=' --with-fftw --enable-visualizer'
   16   [[ -e /usr/lib/pkgconfig/taglib.pc ]] && PKGMK_NCMPCPP+=' --with-taglib'
   17   ./autogen.sh
   18   ./configure $PKGMK_NCMPCPP \
   19     --prefix=/usr \
   20     --enable-shared='yes' \
   21     --enable-static='no' \
   22     --enable-fast-install='yes' \
   23     --enable-clock \
   24     --enable-outputs
   25   make
   26   make DESTDIR=$PKG install
   27   rm -rf $PKG/usr/share
   28 }

Generated by cgit