[arch-commits] Commit in glew1.10/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 21:00:37 UTC 2018


    Date: Friday, November 9, 2018 @ 21:00:37
  Author: foutrelis
Revision: 404485

archrelease: copy trunk to community-staging-x86_64

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

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: glew1.10/repos/community-staging-x86_64/PKGBUILD (from rev 404484, glew1.10/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 21:00:37 UTC (rev 404485)
@@ -0,0 +1,36 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Florian Pritz <flo at xinu.at>
+
+pkgname=glew1.10
+pkgver=1.10.0
+pkgrel=2
+pkgdesc='A cross-platform C/C++ extension loading library'
+arch=('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