diff options
author | root <root@rshg054.dnsready.net> | 2013-07-31 02:01:16 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-31 02:01:16 -0700 |
commit | b73aa81c21acc75e383d0e73e0fbf553d2b68232 (patch) | |
tree | de88d1ae028f57b9f86759cca80d66ef7b32bf97 /community/gmpc | |
parent | 4afc07385539524e7f85fe0d977b90bc6d124cfd (diff) |
Wed Jul 31 01:58:05 PDT 2013
Diffstat (limited to 'community/gmpc')
-rw-r--r-- | community/gmpc/PKGBUILD | 36 |
1 files changed, 23 insertions, 13 deletions
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 <rodseth@gmail.com> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Tobias Kieslich <tobias@archlinux.org> 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: |