Created
October 14, 2019 10:21
-
-
Save graysky2/06dcb3ece31d0b2b09cfd56018b7dfe7 to your computer and use it in GitHub Desktop.
fix waylandpp-git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a 2019-10-14 06:17:57.571316152 -0400 | |
+++ PKGBUILD 2019-10-14 06:19:07.572774596 -0400 | |
@@ -1,15 +1,15 @@ | |
# Maintainer: Nils Christopher Brause <[email protected]> | |
pkgname=waylandpp-git | |
-pkgver=210 | |
-pkgrel=2 | |
+pkgver=294 | |
+pkgrel=1 | |
pkgdesc='Wayland C++ bindings' | |
arch=('i686' 'x86_64' 'armv5' 'armv6' 'armv7' 'armv8') | |
url='https://github.com/NilsBrause/waylandpp' | |
licanse=('MIT' 'GPL3') | |
-depends=(wayland) | |
+depends=(wayland pugixml) | |
provides=(waylandpp) | |
conflicts=(waylandpp) | |
-makedepends=(cmake) | |
+makedepends=(cmake git egl-wayland) | |
source=("${pkgname}::git+https://github.com/NilsBrause/waylandpp.git") | |
md5sums=('SKIP') | |
@@ -22,7 +22,7 @@ pkgver() | |
build() | |
{ | |
cd $pkgname | |
- rm -rf build | |
+ [[ -d build ]] && rm -rf build | |
mkdir build | |
cd build | |
# lib64 is a symlink to lib on archlinux. | |
@@ -34,8 +34,6 @@ package() | |
{ | |
cd $pkgname/build | |
DESTDIR="$pkgdir" make install | |
- cd .. | |
- rm -r build | |
} | |
# Local Variables: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment