summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32dd4ed8e300de8cf804fce0cd3f3ef9b511b9f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer:  Vincent Grande <shoober420@gmail.com>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Laurent Carlier <lordheavym@gmail.com>

pkgname=glu-git
pkgver=9.0.1
pkgrel=1
pkgdesc="Mesa OpenGL Utility library"
arch=('x86_64')
url="https://cgit.freedesktop.org/mesa/glu/"
license=('LGPL')
depends=('libgl')
provides=(glu)
conflicts=(glu)
source=("git+https://gitlab.freedesktop.org/mesa/glu.git")
sha512sums=('SKIP')
#validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"

pkgver() {
  cd glu
  git describe --tags | sed 's/-/+/g'
}

build() {
  cd glu
  ./autogen.sh
  ./configure --prefix=/usr --disable-static --disable-debug
  make
}

#check() {
#  cd glu
#  make -k check
#}

package() {
  cd glu
  make DESTDIR="$pkgdir/" install
}