1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: William Rea <sillywilly@gmail.com>
8 pkgdesc="Assist in the recovery and prevention of Repetitive Strain Injury (RSI)"
10 url="https://workrave.org/"
12 depends=('gstreamer' 'gtkmm3' 'libsm' 'libxss')
13 makedepends=('autoconf-archive' 'boost' 'intltool' 'gobject-introspection' 'libpulse' 'python-jinja'
14 'gnome-panel' 'mate-panel' 'xfce4-panel')
15 optdepends=('gst-plugins-good: to play sound events'
16 'gnome-panel: Applet for GNOME Panel'
17 'mate-panel: Applet for MATE Panel'
18 'xfce4-panel: Applet for Xfce4 Panel')
19 source=("https://github.com/rcaelers/workrave/releases/download/v${pkgver//./_}/$pkgname-v$pkgver.tar.gz")
20 sha256sums=('d667444b933ef08d6f1471277acc650267868c2006c420a34feb1cb5cd64853b')
24 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
25 --libexecdir=/usr/lib/$pkgname
26 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
32 make DESTDIR="$pkgdir" install