# $Id: PKGBUILD,v 1.6 2007/01/24 23:14:09 damir Exp $ # Maintainer: damir # Contributor Daniel Bainton pkgname=ncmpc pkgver=0.11.1 pkgrel=3 pkgdesc="A ncurses (command line) interface for MPD" arch=("i686" "x86_64") url="http://hem.bredband.net/kaw/ncmpc/" # url="http://www.musicpd.org/?page=ncmpc" license="GPL" depends=('ncurses' 'glib2') source=("http://mercury.chem.pitt.edu/~shank/$pkgname-$pkgver.tar.gz") build() { cd $startdir/src/$pkgname-$pkgver sed -i s/charset=ISO-8859-1/charset=KOI8-R/ ./po/ru.po ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make prefix=$startdir/pkg/usr install mkdir -p $startdir/pkg/etc/ncmpc cp $startdir/src/$pkgname-$pkgver/doc/{config.sample,keys.sample} $startdir/pkg/etc/ncmpc/ }