[arch-commits] Commit in glew-wayland/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Sat Jan 4 12:59:07 UTC 2020


    Date: Saturday, January 4, 2020 @ 12:59:06
  Author: arodseth
Revision: 547894

upgpkg: glew-wayland 2.1.0-4

Modified:
  glew-wayland/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-04 12:58:49 UTC (rev 547893)
+++ PKGBUILD	2020-01-04 12:59:06 UTC (rev 547894)
@@ -2,34 +2,33 @@
 # 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=3
-pkgdesc="The OpenGL Extension Wrangler Library (for Wayland)"
-arch=('x86_64')
+pkgrel=4
+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')
+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 -C "$_pkgbase-$pkgver"
+  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"
 }



More information about the arch-commits mailing list