[arch-commits] Commit in lib32-virtualgl/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Wed Dec 14 11:55:52 UTC 2016
Date: Wednesday, December 14, 2016 @ 11:55:52
Author: svenstaro
Revision: 199393
Use sha512sums and HTTPS
Modified:
lib32-virtualgl/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-12-14 11:54:10 UTC (rev 199392)
+++ PKGBUILD 2016-12-14 11:55:52 UTC (rev 199393)
@@ -10,8 +10,8 @@
license=('LGPL')
makedepends=('lib32-libxv' 'lib32-glu' 'virtualgl' 'lib32-libjpeg-turbo' 'cmake' 'gcc-multilib' 'lib32-mesa' 'lib32-mesa-libgl')
depends=('virtualgl' 'lib32-libxv' 'lib32-glu' 'lib32-turbojpeg')
-source=("http://downloads.sourceforge.net/project/virtualgl/${pkgver}/VirtualGL-${pkgver}.tar.gz")
-sha1sums=('20ec8daa09d2bd5bb2437628a2416f9a4ca0fa63')
+source=("https://downloads.sourceforge.net/project/virtualgl/${pkgver}/VirtualGL-${pkgver}.tar.gz")
+sha512sums=('a60a55bae58c80bcea418702f4d3b41356a9e599f007fd539043228c4fe75c28582bab376caf121a5eeee4a21cddb80f1edc2f89abfe88a584321c46383d3654')
prepare() {
# FS#48403
@@ -20,13 +20,13 @@
build() {
cd "$srcdir/VirtualGL-$pkgver"
-
+
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
+
mkdir -p build && cd build
-
+
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr/share \
-DTJPEG_INCLUDE_DIR=/usr/include \
@@ -38,7 +38,7 @@
-DOPENGL_gl_LIBRARY=/usr/lib32/libGL.so
make
}
-
+
package() {
cd "$srcdir/VirtualGL-$pkgver/build"
make install DESTDIR="$pkgdir"
@@ -48,7 +48,7 @@
rm -rf bin
mkdir -p bin
mv glxspheres32 bin/
-
+
cd "$pkgdir/usr/share"
rm -rf doc
rm -rf include
More information about the arch-commits
mailing list