mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
47 lines
1.4 KiB
Bash
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.7
|
|
pkgrel=6
|
|
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::https://rybczak.net/ncmpcpp/stable/${pkgname}-${pkgver}.tar.bz2)
|
|
sha512sums=('a0bbe85f154c40513d41e85810de86ed21109b72fb0f2bdb0b78dcbddb3770aff5422b5bb7fbac2b76634c5b9aaf843bed5fc16fc672fcd71bbae911f65c0034')
|
|
|
|
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:
|