diff options
author | Cecil <knoppmyth@gmail.com> | 2011-01-04 01:33:21 (GMT) |
---|---|---|
committer | Cecil <knoppmyth@gmail.com> | 2011-01-04 01:33:21 (GMT) |
commit | e251674e7f213c43829202425a4dfc97515683d2 (patch) | |
tree | e8ff4453e18a1e47438052ef976e7b5eb4ec7e66 /abs/extra/mesa-demos/PKGBUILD | |
parent | 1dc6d4cbbdd30b1054b2a09237cb04ce9e8bd63c (diff) | |
download | linhes_pkgbuild-e251674e7f213c43829202425a4dfc97515683d2.zip linhes_pkgbuild-e251674e7f213c43829202425a4dfc97515683d2.tar.gz linhes_pkgbuild-e251674e7f213c43829202425a4dfc97515683d2.tar.bz2 |
mesa-demos:Initial inclusion.
Diffstat (limited to 'abs/extra/mesa-demos/PKGBUILD')
-rw-r--r-- | abs/extra/mesa-demos/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra/mesa-demos/PKGBUILD b/abs/extra/mesa-demos/PKGBUILD new file mode 100644 index 0000000..8fabad0 --- /dev/null +++ b/abs/extra/mesa-demos/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 94667 2010-10-09 11:21:35Z andyrtr $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=('mesa-demos') +pkgver=8.0.1 +pkgrel=1 +arch=(i686 x86_64) +pkgdesc="Mesa demos and tools" +url="http://mesa3d.sourceforge.net" +license=('custom') +depends=('glew>=1.5.6') +conflicts=('mesa<7.9') +source=(ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2 + LICENSE) +md5sums=('320c2a4b6edc6faba35d9cb1e2a30bf4' + '5c65a0fe315dd347e09b1f2826a1df5a') + +build() { + cd "${srcdir}/mesa-demos-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/mesa-demos-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/mesa-demos" + install -m755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/mesa-demos/" +} |