[arch-commits] Commit in glew1.10 (5 files)

Maxime Gauduin alucryd at archlinux.org
Thu Sep 29 12:53:14 UTC 2016


    Date: Thursday, September 29, 2016 @ 12:53:14
  Author: alucryd
Revision: 190857

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

Added:
  glew1.10/repos/
  glew1.10/repos/community-i686/
  glew1.10/repos/community-i686/PKGBUILD
    (from rev 190856, glew1.10/trunk/PKGBUILD)
  glew1.10/repos/community-x86_64/
  glew1.10/repos/community-x86_64/PKGBUILD
    (from rev 190856, glew1.10/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: glew1.10/repos/community-i686/PKGBUILD (from rev 190856, glew1.10/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2016-09-29 12:53:14 UTC (rev 190857)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Florian Pritz <flo at xinu.at>
+
+pkgname=glew1.10
+pkgver=1.10.0
+pkgrel=1
+pkgdesc='A cross-platform C/C++ extension loading library'
+arch=('i686' 'x86_64')
+url='http://glew.sourceforge.net'
+license=('BSD' 'MIT' 'GPL')
+depends=('glibc' 'libgl' 'libx11' 'libxext' 'libxi' 'libxmu')
+source=("http://downloads.sourceforge.net/glew/glew-${pkgver}.tgz")
+sha256sums=('99c41320b63f6860869b5fb9af9a1854b15582796c64ee3dfd7096dc0c89f307')
+
+prepare() {
+  cd glew-${pkgver}
+
+  sed -i 's|lib64|lib|' config/Makefile.linux
+}
+
+build() {
+  cd glew-${pkgver}
+
+  make
+}
+
+package() {
+  cd glew-${pkgver}
+
+  make GLEW_DEST="${pkgdir}/usr" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/{libGLEW.{a,so},pkgconfig}}
+
+  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/glew1.10/
+}
+
+# vim: ts=2 sw=2 et:

Copied: glew1.10/repos/community-x86_64/PKGBUILD (from rev 190856, glew1.10/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2016-09-29 12:53:14 UTC (rev 190857)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Florian Pritz <flo at xinu.at>
+
+pkgname=glew1.10
+pkgver=1.10.0
+pkgrel=1
+pkgdesc='A cross-platform C/C++ extension loading library'
+arch=('i686' 'x86_64')
+url='http://glew.sourceforge.net'
+license=('BSD' 'MIT' 'GPL')
+depends=('glibc' 'libgl' 'libx11' 'libxext' 'libxi' 'libxmu')
+source=("http://downloads.sourceforge.net/glew/glew-${pkgver}.tgz")
+sha256sums=('99c41320b63f6860869b5fb9af9a1854b15582796c64ee3dfd7096dc0c89f307')
+
+prepare() {
+  cd glew-${pkgver}
+
+  sed -i 's|lib64|lib|' config/Makefile.linux
+}
+
+build() {
+  cd glew-${pkgver}
+
+  make
+}
+
+package() {
+  cd glew-${pkgver}
+
+  make GLEW_DEST="${pkgdir}/usr" install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/{libGLEW.{a,so},pkgconfig}}
+
+  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/glew1.10/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list