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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:07:58 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:07:57
  Author: felixonmars
Revision: 658829

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 658828, glew1.10/trunk/PKGBUILD)

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

Copied: glew1.10/repos/community-staging-x86_64/PKGBUILD (from rev 658828, glew1.10/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:07:57 UTC (rev 658829)
@@ -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=3
+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=("https://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