[arch-commits] Commit in (5 files)

Alexander Rødseth arodseth at archlinux.org
Sun Jan 7 22:57:58 UTC 2018


    Date: Sunday, January 7, 2018 @ 22:57:58
  Author: arodseth
Revision: 280230

glew with SYSTEM=linux-egl

See also FS#56025

Added:
  glew-wayland/
  glew-wayland/repos/
  glew-wayland/repos/community-x86_64/
  glew-wayland/trunk/
  glew-wayland/trunk/PKGBUILD

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

Added: glew-wayland/trunk/PKGBUILD
===================================================================
--- glew-wayland/trunk/PKGBUILD	                        (rev 0)
+++ glew-wayland/trunk/PKGBUILD	2018-01-07 22:57:58 UTC (rev 280230)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: SleepyDog
+
+pkgbase=glew
+pkgname=glew-wayland
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="The OpenGL Extension Wrangler Library (for Wayland)"
+arch=('x86_64')
+url='https://glew.sourceforge.net/'
+license=('BSD' 'GPL' 'MIT')
+depends=('glu' 'libxi' 'libxmu')
+source=("https://downloads.sourceforge.net/$pkgbase/$pkgbase-$pkgver.tgz")
+sha256sums=('04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95')
+replaces=('glew')
+conflicts=('glew')
+provides=('glew')
+
+prepare() {
+  cd "$pkgbase-$pkgver"
+
+  sed -i '/^.PHONY: .*\.pc$/d' Makefile
+  sed -i 's,lib64,lib,' config/Makefile.linux
+}
+
+build() {
+  make -C "$pkgbase-$pkgver"
+}
+
+package_glew-wayland() {
+  cd "$pkgbase-$pkgver"
+
+  make GLEW_DEST="$pkgdir/usr" SYSTEM=linux-egl install.all
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list