summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 30efed6ba37cd412e1364126ec8d4cfe4b40815d (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
32
# Contributor: Connor Behan <connor.behan@gmail.com>

pkgname=xfce4-mpc-plugin-update
pkgver=0.4.5
pkgrel=1
pkgdesc="Updates the toggle button icon depending on what MPD is doing"
arch=(i686 x86_64)
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-mpc-plugin"
groups=('xfce4-goodies')
depends=('xfce4-panel' 'libmpd>=0.16.1')
makedepends=('pkgconfig' 'intltool')
replaces=('xfce4-mpc-plugin')
provides=('xfce4-mpc-plugin')
options=(!libtool)
source=(http://archive.xfce.org/src/panel-plugins/xfce4-mpc-plugin/${pkgver%.*}/xfce4-mpc-plugin-${pkgver}.tar.bz2 update.diff)

build() {
  cd "${srcdir}"/xfce4-mpc-plugin-${pkgver}
  patch -Np1 -i ../update.diff
  ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
    --localstatedir=/var --disable-static
  make
}

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

md5sums=('718e64748e46908a44cd0b96eacbda28'
         '8019c8201fb32d7659bbb3ea66fdca80')