summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3e6c5f9ee460fe323c7c346ad8bbc2c2598cbb70 (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
# Maintainer: Jerome Leclanche <jerome@leclan.ch>

_pkgname="mesa-demos"
pkgname="glxinfo"
pkgver=8.2.0
pkgrel=1
arch=("i686" "x86_64")
pkgdesc="Display info about a GLX extension and OpenGL renderer. Standalone binary from the mesa-demos project."
url="http://www.mesa3d.org/"
license=("MIT")
depends=("libgl")
makedepends=("glew")
conflicts=("$_pkgname")
source=("ftp://ftp.freedesktop.org/pub/mesa/demos/$pkgver/$_pkgname-$pkgver.tar.bz2")
sha256sums=("e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92")


build() {
	mkdir -p build
	cd build
	"$srcdir/$_pkgname-$pkgver/configure" --prefix=/usr
	make -C src/xdemos bin_PROGRAMS="$pkgname"
}

package() {
	cd build
	make DESTDIR="$pkgdir" -C src/xdemos bin_PROGRAMS="$pkgname" install
}