Skip to content

Instantly share code, notes, and snippets.

@graysky2
Created October 14, 2019 10:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graysky2/06dcb3ece31d0b2b09cfd56018b7dfe7 to your computer and use it in GitHub Desktop.
Save graysky2/06dcb3ece31d0b2b09cfd56018b7dfe7 to your computer and use it in GitHub Desktop.
fix waylandpp-git
--- 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 <nilschrbrause@googlemail.com>
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