summaryrefslogtreecommitdiff
path: root/extra/gmpc/PKGBUILD
blob: 3866be72f3f7c8f923fd2137bc4c4ee9a1391680 (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
28
29
# $Id: PKGBUILD 136735 2011-08-31 19:33:21Z eric $
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Kieslich <tobias@archlinux.org>

pkgname=gmpc
pkgver=11.8.16
pkgrel=1.1
pkgdesc="A GTK2 client for MPD"
arch=('i686' 'x86_64' 'mips64el')
url="http://gmpclient.org/home"
license=('GPL')
depends=('libunique' 'libmpd' 'libsoup' 'sqlite3' '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')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/gmpc.desktop.in
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}