summaryrefslogtreecommitdiff
path: root/community/radeontool/PKGBUILD
blob: 83793aa62d33aa49f20f0946c298758b8aefe3ff (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
# $Id: PKGBUILD 64970 2012-02-19 08:18:34Z lcarlier $
# Maintainer : Laurent Carlier <lordheavym AT gmail DOT com>

pkgname=radeontool
pkgver=1.6.2
pkgrel=2
pkgdesc="Lowlevel tools to tweak register and dump state on radeon GPUs"
url="http://airlied.livejournal.com/"
arch=('i686' 'x86_64')
license=('ZLIB')
source=(http://people.freedesktop.org/~airlied/radeontool/${pkgname}-${pkgver}.tar.gz
	license.txt)
depends=('libpciaccess')
md5sums=('535cf712cd609c361291dd59ca2664aa'
         'cc74a55d8e998ca9a2537a0ab78bc582')
         
build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  
  ./configure --prefix=/usr
  make
}

package () {
  cd ${srcdir}/${pkgname}-${pkgver}

  make DESTDIR="${pkgdir}" install
  install -D ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/radeontool/license.txt
}