summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2016-07-26 08:56:04 +0200
committerMichel Zou2016-07-26 08:56:04 +0200
commitfdf5ac30dd668c7f4735014ee0a8f193d8719451 (patch)
tree814d1e7b2689fd5f7b6cb783aa0c574ab42f52bd
parent45ddcf376a9856c1b0f501eeeb171fc70aab3c2c (diff)
downloadaur-fdf5ac30dd668c7f4735014ee0a8f193d8719451.tar.gz
2.0.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3b5381c0310..ef6ed657395 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Jan 15 21:05:06 UTC 2016
+# Tue Jul 26 06:56:04 UTC 2016
pkgbase = mingw-w64-glew
pkgdesc = GLEW, The OpenGL Extension Wrangler Library (mingw-w64)
- pkgver = 1.13.0
+ pkgver = 2.0.0
pkgrel = 1
url = http://glew.sourceforge.net/
arch = any
@@ -12,8 +12,8 @@ pkgbase = mingw-w64-glew
options = !strip
options = !buildflags
options = staticlibs
- source = http://downloads.sourceforge.net/glew/glew-1.13.0.tgz
- md5sums = 7cbada3166d2aadfc4169c4283701066
+ source = http://downloads.sourceforge.net/glew/glew-2.0.0.tgz
+ md5sums = 2a2cd7c98f13854d2fcddae0d2b20411
pkgname = mingw-w64-glew
diff --git a/PKGBUILD b/PKGBUILD
index 3610a2712d5..f088edae3fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=mingw-w64-glew
-pkgver=1.13.0
+pkgver=2.0.0
pkgrel=1
pkgdesc="GLEW, The OpenGL Extension Wrangler Library (mingw-w64)"
arch=('any')
@@ -9,7 +9,7 @@ depends=('mingw-w64-crt')
makedepends=('mingw-w64-gcc')
options=('!strip' '!buildflags' 'staticlibs')
source=("http://downloads.sourceforge.net/glew/glew-${pkgver}.tgz")
-md5sums=('7cbada3166d2aadfc4169c4283701066')
+md5sums=('2a2cd7c98f13854d2fcddae0d2b20411')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
#Config file to use included in ${srcdir}/glew-${pkgver}/config
@@ -33,10 +33,11 @@ build() {
RANLIB="${_arch}-ranlib" \
STRIP="${_arch}-strip" \
LD="${_arch}-gcc" \
+ LDFLAGS.GL="-lopengl32 -lgdi32 -luser32 -lkernel32 -lmingw32 -lmsvcrt" \
GLEW_DEST="${pkgdir}/usr/${_arch}" \
CFLAGS.EXTRA="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4" \
all
- done
+ done
}
package() {
@@ -45,6 +46,7 @@ package() {
make SYSTEM=${_config} \
GLEW_DEST="${pkgdir}/usr/${_arch}" \
install
+ sed -i "s|${pkgdir}||g" "${pkgdir}"/usr/${_arch}/lib/pkgconfig/glew.pc
done
}