summaryrefslogtreecommitdiff
path: root/extra/xorg-xload/PKGBUILD
blob: c512009f451153a8a9f627e0004ca181d486a845 (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
# $Id: PKGBUILD 151023 2012-02-24 13:32:09Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xload
pkgver=1.1.0
pkgrel=2
pkgdesc="System load average display for X"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw' 'libxmu' 'libxt' 'libx11')
makedepends=('xorg-util-macros')
source=(http://xorg.freedesktop.org/archive/individual/app/xload-${pkgver}.tar.bz2)
sha1sums=('dcad93d769b0614466f1e48fed5dd956349cfcfb')

build() {
  cd "${srcdir}/xload-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xload-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}