summaryrefslogtreecommitdiff
path: root/extra/xfce4-timer-plugin/PKGBUILD
blob: df606bd8e990cdb91549396595cccb0b7617ed87 (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
33
34
35
36
37
# $Id: PKGBUILD 108093 2011-01-29 12:51:59Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>

pkgname=xfce4-timer-plugin
pkgver=0.6.1
pkgrel=1
pkgdesc="plugin to track time for the Xfce4 panel"
arch=(i686 x86_64 'mips64el')
license=('GPL2')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin"
groups=('xfce4-goodies')
depends=('xfce4-panel' 'libxfcegui4')
makedepends=('intltool')
options=('!libtool')
source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.6/${pkgname}-${pkgver}.tar.bz2
	panel48.patch)
md5sums=('ba5ae0e25f69517338f74a27fbaf4ca2'
         'fc9444aa98d7ef9c61d97dbd9f47e082')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  # patch from git master
  patch -Np1 -i ${srcdir}/panel48.patch
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib/ \
	--localstatedir=/var \
	--disable-static \
	--disable-debug
  make
}

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