Date: Thursday, January 16, 2020 @ 03:54:02 Author: svenstaro Revision: 552730
upgpkg: glfw 3.3.1-1 Modified: glfw/trunk/PKGBUILD ----------+ PKGBUILD | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-16 03:53:09 UTC (rev 552729) +++ PKGBUILD 2020-01-16 03:54:02 UTC (rev 552730) @@ -1,4 +1,4 @@ -# Maintainer: Sven-Hendrik Haase <[email protected]> +# Maintainer: Sven-Hendrik Haase <[email protected]> # Contributor: philefou <tuxication AT gmail DOT com> # Contributor: lindquist <[email protected]> # Contributor: Christoph Siegenthaler <[email protected]> @@ -7,8 +7,8 @@ pkgbase=glfw pkgname=('glfw-x11' 'glfw-wayland' 'glfw-doc') -pkgver=3.3 -pkgrel=2 +pkgver=3.3.1 +pkgrel=1 arch=('x86_64') url="http://www.glfw.org/" license=('custom:ZLIB') @@ -16,13 +16,15 @@ 'extra-cmake-modules' 'wayland-protocols' 'libxi' 'libxrandr' 'libxcursor' 'libxkbcommon' 'libxinerama') source=("https://github.com/glfw/glfw/archive/${pkgver}.tar.gz") -md5sums=('5be03812f5d109817e6558c3fab7bbe1') +sha512sums=('f9376002314eae5518ca63738cf1558433007dbf628fb6093a6f54c330f72d85e0ac30049877c50bc99f029e3eb6f69e69508f412d1ec9bdde0ac721dbbeba1e') -build() { +prepare() { cd "$srcdir/$pkgbase-$pkgver" + mkdir build-x11 build-wayland +} - [[ -d build-x11 ]] && rm -r build-x11 - mkdir build-x11 && cd build-x11 +build() { + cd "$srcdir/$pkgbase-$pkgver/build-x11" cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -30,11 +32,8 @@ -DBUILD_SHARED_LIBS=ON make docs - cd .. + cd ../build-wayland - [[ -d build-wayland ]] && rm -r build-wayland - mkdir build-wayland && cd build-wayland - cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \
