PKGBUILDs/extra/gmpc/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
888 B
Bash

# $Id: PKGBUILD 52510 2009-09-21 08:44:57Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Kieslich <tobias@archlinux.org>
pkgname=gmpc
pkgver=0.19.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.18.1' 'curl' 'libsm' 'libsoup' 'libsexy' 'hicolor-icon-theme')
makedepends=('gob2')
options=('!libtool')
install=gmpc.install
source=(http://download.sarine.nl/Programs/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('bbd02996b6eb389aa6c25150de87f7a2')
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
}