[arch-commits] Commit in glew-wayland/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Jan 7 23:04:33 UTC 2018
Date: Sunday, January 7, 2018 @ 23:04:33
Author: arodseth
Revision: 280233
upgpkg: glew-wayland 2.1.0-1
Modified:
glew-wayland/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-07 23:02:11 UTC (rev 280232)
+++ PKGBUILD 2018-01-07 23:04:33 UTC (rev 280233)
@@ -4,7 +4,7 @@
# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
# Contributor: SleepyDog
-pkgbase=glew
+_pkgbase=glew
pkgname=glew-wayland
pkgver=2.1.0
pkgrel=1
@@ -13,14 +13,14 @@
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')
+source=("https://downloads.sourceforge.net/$_pkgbase/$_pkgbase-$pkgver.tgz")
+sha256sums=('04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95')
prepare() {
- cd "$pkgbase-$pkgver"
+ cd "$_pkgbase-$pkgver"
sed -i '/^.PHONY: .*\.pc$/d' Makefile
sed -i 's,lib64,lib,' config/Makefile.linux
@@ -27,11 +27,11 @@
}
build() {
- make -C "$pkgbase-$pkgver"
+ make -C "$_pkgbase-$pkgver"
}
package_glew-wayland() {
- cd "$pkgbase-$pkgver"
+ 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