summaryrefslogtreecommitdiff
path: root/community/gmpc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gmpc/PKGBUILD')
-rw-r--r--community/gmpc/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/gmpc/PKGBUILD b/community/gmpc/PKGBUILD
new file mode 100644
index 000000000..5360b20c2
--- /dev/null
+++ b/community/gmpc/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 94825 2013-07-30 21:19:19Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Tobias Kieslich <tobias@archlinux.org>
+
+pkgname=gmpc
+pkgver=11.8.16
+pkgrel=2
+pkgdesc='MPD client (Gtk2)'
+arch=('x86_64' 'i686')
+url='http://gmpclient.org/home'
+license=('GPL')
+depends=('libunique' 'libmpd' 'libsoup' 'sqlite' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('gob2' 'intltool' 'vala')
+options=('!libtool')
+install='gmpc.install'
+source=("http://download.sarine.nl/Programs/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.gz")
+sha256sums=('a69414f35396846733632ca9619921d7acda537ffd6d49bd84b444945cb76b2c')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's/GNOME;AudioVideo;/GTK;AudioVideo;Player;/' data/gmpc.desktop.in
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make CFLAGS+='-lm'
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: