[arch-commits] Commit in glew/repos (4 files)

Andreas Radke andyrtr at archlinux.org
Mon Sep 28 18:49:06 UTC 2015


    Date: Monday, September 28, 2015 @ 20:49:05
  Author: andyrtr
Revision: 247678

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  glew/repos/staging-i686/
  glew/repos/staging-i686/PKGBUILD
    (from rev 247677, glew/trunk/PKGBUILD)
  glew/repos/staging-x86_64/
  glew/repos/staging-x86_64/PKGBUILD
    (from rev 247677, glew/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: glew/repos/staging-i686/PKGBUILD (from rev 247677, glew/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-28 18:49:05 UTC (rev 247678)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.13.0
+pkgrel=1
+pkgdesc="The OpenGL Extension Wrangler Library"
+arch=('i686' 'x86_64')
+url="http://glew.sourceforge.net"
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'glu')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
+sha1sums=('d5b1c499f429aa91c466193b4e8ea94a84019e37')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  sed -i 's|lib64|lib|' config/Makefile.linux
+  sed -i '/^.PHONY: .*\.pc$/d' Makefile
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make GLEW_DEST="${pkgdir}/usr" install.all
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+#  chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
+}

Copied: glew/repos/staging-x86_64/PKGBUILD (from rev 247677, glew/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-28 18:49:05 UTC (rev 247678)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgname=glew
+pkgver=1.13.0
+pkgrel=1
+pkgdesc="The OpenGL Extension Wrangler Library"
+arch=('i686' 'x86_64')
+url="http://glew.sourceforge.net"
+license=('BSD' 'MIT' 'GPL')
+depends=('libxmu' 'libxi' 'glu')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tgz)
+sha1sums=('d5b1c499f429aa91c466193b4e8ea94a84019e37')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  
+  sed -i 's|lib64|lib|' config/Makefile.linux
+  sed -i '/^.PHONY: .*\.pc$/d' Makefile
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make GLEW_DEST="${pkgdir}/usr" install.all
+  install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+#  chmod 0755 "${pkgdir}"/usr/lib/libGLEW*.so.${pkgver}
+}



More information about the arch-commits mailing list