summaryrefslogtreecommitdiff
path: root/waylandpp/Pkgfile
blob: 4390757942d626bb1cf0dc73248d9b2aa25ff400 (plain)
    1 # Description: Wayland C++ bindings
    2 # URL: https://github.com/NilsBrause/waylandpp
    3 # Maintainer: Tim Biermann, tbier at posteo dot de
    4 # Depends on: egl-wayland pugixml wayland-protocols
    5 
    6 name=waylandpp
    7 version=1.0.0
    8 release=1
    9 source=(https://github.com/NilsBrause/waylandpp/archive/$version/$name-$version.zip)
   10 
   11 build() {
   12   cmake -S $name-$version -B build -G Ninja \
   13     -D CMAKE_INSTALL_PREFIX=/usr \
   14     -D CMAKE_INSTALL_LIBDIR=lib \
   15     -D CMAKE_BUILD_TYPE=Release \
   16     -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
   17     -Wno-dev
   18   cmake --build build
   19   DESTDIR=$PKG cmake --install build
   20 }

Generated by cgit