upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / workrave / trunk / PKGBUILD
blob867d8e5cbc3255c82204291c3f3c012ae9592013
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>
5 pkgname=workrave
6 pkgver=1.10.50
7 pkgrel=1
8 pkgdesc="Assist in the recovery and prevention of Repetitive Strain Injury (RSI)"
9 arch=('x86_64')
10 url="https://workrave.org/"
11 license=('GPL3')
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')
22 build() {
23   cd $pkgname-$pkgver
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
27   make
30 package() {
31   cd $pkgname-$pkgver
32   make DESTDIR="$pkgdir" install