PKGBUILDs/extra/mesa-demos/PKGBUILD

34 lines
1,008 B
Bash
Raw Normal View History

2012-11-26 18:45:08 +00:00
# $Id: PKGBUILD 151280 2012-02-25 12:34:36Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2013-02-26 16:43:46 +00:00
# - add mesa makedepend
2012-11-26 18:45:08 +00:00
pkgname='mesa-demos'
2013-02-26 16:43:46 +00:00
pkgver=8.1.0
pkgrel=1
2012-11-26 18:45:08 +00:00
arch=('i686' 'x86_64')
pkgdesc="Mesa demos and tools"
url="http://mesa3d.sourceforge.net"
license=('custom')
2013-02-26 16:43:46 +00:00
depends=('libgl' 'glew')
2012-11-26 18:45:08 +00:00
makedepends=('mesa')
source=("ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2"
'LICENSE')
2013-02-26 16:43:46 +00:00
sha256sums=('9703fa0646b32a1e68d2abf5628f936f77bf97c69ffcaac90de380820a87a828'
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2')
2012-11-26 18:45:08 +00:00
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/"
}