[arch-commits] Commit in lib32-glew1.10/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Feb 6 15:50:06 UTC 2019


    Date: Wednesday, February 6, 2019 @ 15:50:05
  Author: alucryd
Revision: 429742

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-glew1.10/repos/multilib-x86_64/PKGBUILD
    (from rev 429741, lib32-glew1.10/trunk/PKGBUILD)
Deleted:
  lib32-glew1.10/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 49 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-06 15:49:54 UTC (rev 429741)
+++ PKGBUILD	2019-02-06 15:50:05 UTC (rev 429742)
@@ -1,41 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Florian Pritz <flo at xinu.at>
-
-pkgname=lib32-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=('lib32-glibc' 'lib32-libgl' 'lib32-libx11' 'lib32-libxext'
-         'lib32-libxi' 'lib32-libxmu')
-makedepends=('gcc-multilib')
-source=("http://downloads.sourceforge.net/glew/glew-${pkgver}.tgz")
-sha256sums=('99c41320b63f6860869b5fb9af9a1854b15582796c64ee3dfd7096dc0c89f307')
-
-prepare() {
-  cd glew-${pkgver}
-
-  sed -i 's|CC = cc|CC = gcc -m32|' config/Makefile.linux
-  sed -i 's|LD = cc|LD = gcc -m32|' config/Makefile.linux
-  sed -i 's|lib64|lib32|' config/Makefile.linux
-}
-
-build() {
-  cd glew-${pkgver}
-
-  make
-}
-
-package() {
-  cd glew-${pkgver}
-
-  make GLEW_DEST="${pkgdir}/usr" install
-  rm -rf "${pkgdir}"/usr/{bin,include,lib32/{libGLEW.{a,so},pkgconfig}}
-
-  install -dm 755 "${pkgdir}"/usr/share/licenses/lib32-glew1.10
-  install -m 644 LICENSE.txt "${pkgdir}"/usr/share/licenses/lib32-glew1.10/
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-glew1.10/repos/multilib-x86_64/PKGBUILD (from rev 429741, lib32-glew1.10/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-06 15:50:05 UTC (rev 429742)
@@ -0,0 +1,49 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Florian Pritz <flo at xinu.at>
+
+pkgname=lib32-glew1.10
+pkgver=1.10.0
+pkgrel=4
+pkgdesc='A cross-platform C/C++ extension loading library'
+arch=(x86_64)
+url=http://glew.sourceforge.net
+license=(
+  BSD
+  MIT
+  GPL
+)
+depends=(
+  lib32-glibc
+  lib32-libgl
+  lib32-libx11
+  lib32-libxext
+  lib32-libxi
+  lib32-libxmu
+)
+makedepends=(git)
+source=(https://downloads.sourceforge.net/glew/glew-${pkgver}.tgz)
+sha256sums=(99c41320b63f6860869b5fb9af9a1854b15582796c64ee3dfd7096dc0c89f307)
+
+prepare() {
+  cd glew-${pkgver}
+
+  sed -i 's|CC = cc|CC = gcc -m32|' config/Makefile.linux
+  sed -i 's|LD = cc|LD = gcc -m32|' config/Makefile.linux
+  sed -i 's|lib64|lib32|' config/Makefile.linux
+}
+
+build() {
+  cd glew-${pkgver}
+
+  make lib
+}
+
+package() {
+  cd glew-${pkgver}
+
+  make GLEW_DEST="${pkgdir}"/usr install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib32/{libGLEW.{a,so},pkgconfig}}
+  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/lib32-glew1.10/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list