summaryrefslogtreecommitdiff
path: root/testing/xorg-x11perf/PKGBUILD
blob: 42fc8adc9f9e9b76fc6849659b894c1a51aed7f5 (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 'mips64el')
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}/"
}