PKGBUILDs/community/ncmpcpp/PKGBUILD
2016-05-14 15:45:03 +00:00

47 lines
1.4 KiB
Bash

# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: graysky <graysky AT archlinux DOT us>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Army <uli[dot]armbruster[at]gmail[dot]com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - strip -march=native from extras Makefile
pkgname=ncmpcpp
pkgver=0.7.4
pkgrel=2
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=('e5171bd095baefcdf1da1e4d3de3d14a22035584da9b7ec9f176c0fb32bee61a25d989c3405711e512333b10f38a5575e90ec733afeaf7aff995386396f3b918')
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: