summaryrefslogtreecommitdiff
path: root/extra/gmpc/PKGBUILD
blob: 6dd1b7e7cdf9f2dbda7c032231b5a0b03b5e46b4 (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
30
31
# $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=2
pkgdesc="A GTK2 client for MPD"
arch=('i686' 'x86_64')
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
source=(http://download.sarine.nl/Programs/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
md5sums=('902fd69b0b6bb40abb647604080dd7ef')

build() {
  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
}