summaryrefslogtreecommitdiff
path: root/community/lxtask/PKGBUILD
blob: 6ba068535e7e3f4c0beeb05600f834882e414b9a (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
38
39
40
41
42
# $Id: PKGBUILD 109303 2014-04-13 01:12:59Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>

pkgname=lxtask
pkgver=0.1.4
pkgrel=5
pkgdesc='Task manager of the LXDE Desktop'
arch=('i686' 'x86_64')
license=('GPL2')
url='http://lxde.org/'
groups=('lxde')
depends=('gtk2')
makedepends=('intltool')
source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz
        fix-integer-overflow.patch
        fix-sort-by-user.patch
        fix-cpu-count.patch)
md5sums=('c4ab47d03d41a88696d64d3f1e78cf7f'
         '0d4d325bd20dc7dcf2489bf78f18efb5'
         'ecb4b04fac25c7533b8760696b742330'
         'd18064be20c653274e31a73426e06abb')

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../fix-integer-overflow.patch
  patch -Np1 -i ../fix-sort-by-user.patch
  patch -Np1 -i ../fix-cpu-count.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --sysconfdir=/etc --prefix=/usr
  make
}

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