PKGBUILDs/community/ncmpcpp/PKGBUILD

48 lines
1.4 KiB
Bash
Raw Normal View History

2016-04-09 16:54:28 +00:00
# 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
2016-05-05 23:49:32 +00:00
pkgver=0.7.4
pkgrel=1
2016-04-09 16:54:28 +00:00
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)
2016-05-05 23:49:32 +00:00
sha512sums=('e5171bd095baefcdf1da1e4d3de3d14a22035584da9b7ec9f176c0fb32bee61a25d989c3405711e512333b10f38a5575e90ec733afeaf7aff995386396f3b918')
2016-04-09 16:54:28 +00:00
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: