diff options
Diffstat (limited to 'extra/gmpc/PKGBUILD')
-rw-r--r-- | extra/gmpc/PKGBUILD | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/extra/gmpc/PKGBUILD b/extra/gmpc/PKGBUILD index 7cee8fc09..6dd1b7e7c 100644 --- a/extra/gmpc/PKGBUILD +++ b/extra/gmpc/PKGBUILD @@ -1,15 +1,16 @@ -# $Id: PKGBUILD 80683 2010-05-20 18:05:37Z ibiru $ +# $Id: PKGBUILD 135824 2011-08-18 21:27:02Z eric $ # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Kieslich <tobias@archlinux.org> pkgname=gmpc pkgver=0.20.0 -pkgrel=1 +pkgrel=2 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') +url="http://gmpclient.org/home" +license=('GPL') +depends=('libglade' 'libmpd>=0.20.0' 'libsoup' 'libsexy' 'sqlite3' \ + 'hicolor-icon-theme' 'xdg-utils') makedepends=('gob2' 'intltool' 'vala') options=('!libtool') install=gmpc.install @@ -17,11 +18,14 @@ source=(http://download.sarine.nl/Programs/${pkgname}/${pkgver}/${pkgname}-${pkg 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 + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' \ + data/gmpc.desktop.in + ./configure --prefix=/usr --enable-system-libsexy + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |