summaryrefslogtreecommitdiff
path: root/community/ncmpcpp
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/ncmpcpp
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/ncmpcpp')
-rw-r--r--community/ncmpcpp/PKGBUILD38
-rw-r--r--community/ncmpcpp/ncmpcpp.install19
2 files changed, 57 insertions, 0 deletions
diff --git a/community/ncmpcpp/PKGBUILD b/community/ncmpcpp/PKGBUILD
new file mode 100644
index 000000000..c3ccc6166
--- /dev/null
+++ b/community/ncmpcpp/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 80358 2012-11-20 16:00:53Z 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=4
+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' 'fftw')
+install=ncmpcpp.install
+source=(http://ncmpcpp.rybczak.net/stable/$pkgname-$pkgver.tar.bz2)
+md5sums=('298ed66325bcfe358e37e186c7ea4861')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --enable-clock \
+ --enable-outputs \
+ --enable-unicode \
+ --enable-visualizer \
+ --with-curl \
+ --with-fftw \
+ --with-taglib
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+
+ make -C extras/
+ install -Dm755 extras/artist_to_albumartist $pkgdir/usr/bin/
+}
diff --git a/community/ncmpcpp/ncmpcpp.install b/community/ncmpcpp/ncmpcpp.install
new file mode 100644
index 000000000..b539969ae
--- /dev/null
+++ b/community/ncmpcpp/ncmpcpp.install
@@ -0,0 +1,19 @@
+pre_install() {
+ /bin/true
+}
+post_install() {
+ echo "Example configuration files can be found in"
+ echo "/usr/share/doc/ncmpcpp"
+}
+pre_upgrade() {
+ /bin/true
+}
+post_upgrade() {
+ /bin/true
+}
+pre_remove() {
+ /bin/true
+}
+post_remove() {
+ /bin/true
+}