Skip to content

Instantly share code, notes, and snippets.

@graysky2

graysky2/fix.patch

Created Oct 14, 2019
Embed
What would you like to do?
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