summaryrefslogtreecommitdiff
path: root/community/ncmpcpp/PKGBUILD
blob: 814376e0e9ec602a0f02557cbc82ff5141d74c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 80192 2012-11-17 14:06:36Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski
# Contributor: graysky <graysky AT archlinux DOT us>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Army <uli[dot]armbruster[at]gmail[dot]com>

pkgname=ncmpcpp
pkgver=0.5.10
pkgrel=3
pkgdesc='Almost exact clone of ncmpc with some new features'
arch=('i686' 'x86_64')
url='http://ncmpcpp.rybczak.net/'
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
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install

  make -C extras/
  install -Dm755 extras/artist_to_albumartist $pkgdir/usr/bin/
}