# Maintainer: Levente Polyak # Contributor: Bartłomiej Piotrowski # Contributor: graysky # Contributor: Mateusz Herych # Contributor: Army # ALARM: Kevin Mihelich # - strip -march=native from extras Makefile pkgname=ncmpcpp pkgver=0.7.5 pkgrel=1 pkgdesc='Almost exact clone of ncmpc with some new features' url='http://ncmpcpp.rybczak.net/' arch=('i686' 'x86_64') license=('GPL') depends=('curl' 'libmpdclient' 'taglib' 'ncurses' 'fftw' 'boost-libs') makedepends=('boost') source=(${pkgname}-${pkgver}.tar.bz2::http://rybczak.net/ncmpcpp/stable/${pkgname}-${pkgver}.tar.bz2) sha512sums=('5f3b370a5a8fdc05e85a7b748debd960c0e76d5b9e43717efceaa985baa0c543d14d8b0fd7b09550111bff3aa66ec290d6cd2c0ec21de7a0caa10df1c68c99c8') prepare() { cd ${pkgname}-${pkgver} sed -i 's/-march=native//' extras/Makefile } build() { cd ${pkgname}-${pkgver} BOOST_LIB_SUFFIX='' ./configure --prefix=/usr \ --enable-clock \ --enable-outputs \ --enable-unicode \ --enable-visualizer \ --with-curl \ --with-fftw \ --with-taglib make make -C extras } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -Dm 755 extras/artist_to_albumartist -t "${pkgdir}/usr/bin" } # vim: ts=2 sw=2 et: