added community/ncmpcpp

This commit is contained in:
Kevin Mihelich 2016-04-09 16:54:28 +00:00
parent 4fcf8c2b52
commit 22810417e9

View file

@ -0,0 +1,47 @@
# 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.3
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=('6314b97f36014ade92b3a73640bf529625d75d20a68fb9b2999de579095e37c46e1951b22b0a849bd8e23998e72cfa77f717cff914b7e20dccc0a918cb739732')
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: