# # Platform Packages for Chakra, part of chakraos.org # # maintainer : AlmAck # contributor : Manuel Tortosa pkgname=('mesa-demos') pkgver=8.2.0 pkgrel=1 arch=('x86_64') pkgdesc="Mesa demos and tools" url="http://mesa3d.sourceforge.net" license=('custom') depends=('glew' 'freeglut' 'libgl') source=(ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2 LICENSE) md5sums=('72613a2c8c013716db02e3ff59d29061' '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/" }