archrelease: copy trunk to extra-x86_64
[arch-packages.git] / glu / trunk / PKGBUILD
blob3fb5b2459533648039a879c46b53eb56e5d3f505
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Laurent Carlier <lordheavym@gmail.com>
4 pkgname=glu
5 pkgver=9.0.2
6 pkgrel=1
7 pkgdesc="Mesa OpenGL Utility library"
8 arch=('x86_64')
9 url="https://cgit.freedesktop.org/mesa/glu/"
10 license=('LGPL')
11 depends=('libgl')
12 makedepends=('meson')
13 source=(https://mesa.freedesktop.org/archive/$pkgname/$pkgname-$pkgver.tar.xz{,.sig})
14 sha512sums=('2517d7406bb643d12c017a95dcb5d8716f307344332638bcbdf274a90752a7c22165d34745f1b082ed916bb07d40e62d1d1d67d96426225be63166f3480d6f64'
15             'SKIP')
16 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
18 build() {
19   arch-meson $pkgname-$pkgver build \
20     -D default_library=shared
22   # Print config
23   meson configure build
25   ninja -C build
26   meson compile -C build
29 check() {
30   ninja -C build test
33 package() {
34   DESTDIR="$pkgdir" meson install -C build