#Packager: George Vlahavas pkgname=libqtxdg pkgver=3.10.0 pkgrel=1gv source=("https://github.com/lxqt/libqtxdg/releases/download/$pkgver/libqtxdg-$pkgver.tar.xz") docs=("readme.md" "install" "copying" "changelog" "authors" "news" "todo") url=https://lxqt-project.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libqtxdg (Qt implementation of freedesktop.org xdg specs)" "libqtxdg is a Qt 5 implementation of freedesktop.org XDG" "specifications. It is maintained by the LXQt project and nearly all" "LXQt components are depending on it. Yet it can be used independently" "from this desktop environment, too." ) build() { cd $startdir/src/$pkgname-$pkgver mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$CFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$CXXFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg cd .. }