From b73aa81c21acc75e383d0e73e0fbf553d2b68232 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 31 Jul 2013 02:01:16 -0700 Subject: Wed Jul 31 01:58:05 PDT 2013 --- community/gmpc/PKGBUILD | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) (limited to 'community/gmpc') diff --git a/community/gmpc/PKGBUILD b/community/gmpc/PKGBUILD index 623600656..5360b20c2 100644 --- a/community/gmpc/PKGBUILD +++ b/community/gmpc/PKGBUILD @@ -1,29 +1,39 @@ -# $Id: PKGBUILD 83148 2013-01-27 16:16:24Z pierre $ +# $Id: PKGBUILD 94825 2013-07-30 21:19:19Z arodseth $ +# Maintainer: Alexander Rødseth # Contributor: Andrea Scarpino # Contributor: Tobias Kieslich pkgname=gmpc pkgver=11.8.16 -pkgrel=1 -pkgdesc="A GTK2 client for MPD" -arch=('i686' 'x86_64') -url="http://gmpclient.org/home" +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) -md5sums=('223aeb000e41697d8fdf54ccedee89d5') +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}" - sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop.in + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr - make + make CFLAGS+='-lm' } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install } + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf