[arch-commits] Commit in glew-wayland/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 25 16:50:20 UTC 2020


    Date: Saturday, April 25, 2020 @ 16:50:19
  Author: foutrelis
Revision: 620981

archrelease: copy trunk to community-staging-x86_64

Added:
  glew-wayland/repos/community-staging-x86_64/
  glew-wayland/repos/community-staging-x86_64/PKGBUILD
    (from rev 620980, glew-wayland/trunk/PKGBUILD)

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

Copied: glew-wayland/repos/community-staging-x86_64/PKGBUILD (from rev 620980, glew-wayland/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-25 16:50:19 UTC (rev 620981)
@@ -0,0 +1,36 @@
+# 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
+# Contributor: duck <duck at vmail.me>
+
+_pkgbase=glew
+pkgname=glew-wayland
+pkgver=2.1.0
+pkgrel=5
+pkgdesc='The OpenGL Extension Wrangler Library, for Wayland'
+arch=(x86_64)
+url='https://glew.sourceforge.net/'
+license=(BSD GPL MIT)
+depends=(glu libxi libxmu)
+conflicts=(glew)
+source=("https://downloads.sourceforge.net/$_pkgbase/$_pkgbase-$pkgver.tgz")
+sha256sums=('04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95')
+
+prepare() {
+  cd "$_pkgbase-$pkgver"
+  sed -i '/^.PHONY: .*\.pc$/d' Makefile
+  sed -i 's,lib64,lib,' config/Makefile.linux
+}
+
+build() {
+  make STRIP= SYSTEM=linux-egl -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