summaryrefslogtreecommitdiff
path: root/extra/xorg-x11perf/PKGBUILD
blob: c350c59bb3a0f44731a229f4c2b8e49a2048a5f5 (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
# $Id: PKGBUILD 113703 2011-03-10 14:49:36Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-x11perf
pkgver=1.5.3
pkgrel=2
pkgdesc="Simple X server performance benchmarker"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu' 'libxrender' 'libxft' 'libxext')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(http://xorg.freedesktop.org/archive/individual/app/x11perf-${pkgver}.tar.bz2)
sha1sums=('2fd00ba38c36c569751bbe3d60917df2a39e10ba')

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

package() {
  cd "${srcdir}/x11perf-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}