diff options
author | Jerome Leclanche | 2015-06-09 14:24:54 +0200 |
---|---|---|
committer | Jerome Leclanche | 2015-06-09 14:24:54 +0200 |
commit | e31f8f62cfaade305c2cd9c3d9c4fcd6ca9e9442 (patch) | |
tree | 21368cba31c833fc39dae7deb99bd1fa0d887ce7 | |
download | aur-e31f8f62cfaade305c2cd9c3d9c4fcd6ca9e9442.tar.gz |
Initial import from old AUR
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dbceeb073efe --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = glxinfo + pkgdesc = Display info about a GLX extension and OpenGL renderer. Standalone binary from the mesa-demos project. + pkgver = 8.2.0 + pkgrel = 1 + url = http://www.mesa3d.org/ + arch = i686 + arch = x86_64 + license = MIT + makedepends = glew + depends = libgl + conflicts = mesa-demos + source = ftp://ftp.freedesktop.org/pub/mesa/demos/8.2.0/mesa-demos-8.2.0.tar.bz2 + sha256sums = e4bfecb5816ddd4b7b37c1bc876b63f1f7f06fda5879221a9774d0952f90ba92 + +pkgname = glxinfo + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3e6c5f9ee460 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |