# Description: Library providing freedesktop.org XDG specs implementations for Qt # URL: https://github.com/lxqt/libqtxdg # Maintainer: Jay Lanagan, j at lngn dot net # Depends on: xorg-libsm xorg-libxcb name=libqtxdg version=4.1.0 release=1 source=(https://github.com/lxqt/$name/releases/download/$version/$name-$version.tar.xz) build() { mkdir -p build cd build cmake "$SRC/$name-$version" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -Wno-dev make make DESTDIR="$PKG" install }