# $Id: PKGBUILD 74221 2012-07-23 03:07:58Z allan $ # Maintainer: Bartłomiej Piotrowski # Contributor: graysky # Contributor: Mateusz Herych # Contributor: Army pkgname=ncmpcpp pkgver=0.5.10 pkgrel=3 pkgdesc="An almost exact clone of ncmpc with some new features." arch=('i686' 'x86_64') url="http://unkart.ovh.org/ncmpcpp/" license=('GPL') depends=('curl' 'libmpdclient' 'taglib' 'ncurses') install=ncmpcpp.install source=(http://ncmpcpp.rybczak.net/stable/${pkgname}-${pkgver}.tar.bz2) md5sums=('298ed66325bcfe358e37e186c7ea4861') build() { cd "$srcdir/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --enable-unicode \ --enable-clock \ --with-taglib \ --enable-outputs \ --with-curl make cd "$srcdir/${pkgname}-${pkgver}/extras" make } package() { cd "$srcdir/${pkgname}-${pkgver}" make DESTDIR="$pkgdir" install install -Dm755 extras/artist_to_albumartist "$pkgdir/usr/bin/artist_to_albumartist" }