summaryrefslogtreecommitdiff
path: root/extra/gmpc/PKGBUILD
blob: 7cee8fc09d0b80d8dc1c3c00e8d6137ae90112fd (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
# $Id: PKGBUILD 80683 2010-05-20 18:05:37Z ibiru $
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Kieslich <tobias@archlinux.org>

pkgname=gmpc
pkgver=0.20.0
pkgrel=1
pkgdesc="A GTK2 client for MPD"
arch=('i686' 'x86_64')
url="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client"
license=("GPL")
depends=('libglade' 'libmpd>=0.20.0' 'curl' 'libsm' 'libsoup' 'libsexy' 'hicolor-icon-theme')
makedepends=('gob2' 'intltool' 'vala')
options=('!libtool')
install=gmpc.install
source=(http://download.sarine.nl/Programs/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('902fd69b0b6bb40abb647604080dd7ef')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr \
    --enable-system-libsexy
  make || return 1
  sed -i 's|GNOME;Application;AudioVideo;|GTK;Application;AudioVideo;Player;|' \
    data/${pkgname}.desktop
  make DESTDIR=${pkgdir} install
}