updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / workrave-nognome / PKGBUILD
blobf7ee8691e9f746bc43857a7e148d0db4fa9dfb35
1 # Maintainer:  <kfgz at interia dot pl>
3 pkgname=workrave-nognome
4 pkgver=1.9.4
5 pkgrel=1
6 pkgdesc="a tool to help RSI"
7 arch=('i686' 'x86_64')
8 license=('GPL2')
9 url="http://workrave.org"
10 depends=('gnet' 'dbus' 'libxmu' 'gdome2' 'libsigc++' 'libxtst' 'python-cheetah')
11 makedepends=('intltool')
12 conflicts=('workrave')
13 options=(!emptydirs)
14 source=(http://downloads.sourceforge.net/workrave/workrave-${pkgver}.tar.gz)
15 md5sums=('d5eaf399b38b063053cff1a8527cba8e')
17 build() {
18   cd ${srcdir}/workrave-${pkgver}
19   export PYTHON=python2
20   ./configure --prefix=/usr --enable-dbus --sysconfdir=/etc --libexecdir=/usr/lib/workrave \
21   --disable-pulse  --disable-gconf --disable-gnome
22   make
25 package() {
26   cd ${srcdir}/workrave-${pkgver}
27   make DESTDIR=${pkgdir} install
28   sed -i "s|workrave-sheep|/usr/share/icons/hicolor/scalable/apps/workrave-sheep.svg|g" \
29   ${pkgdir}/usr/share/applications/workrave.desktop