# Maintainer: zaps166 pkgname=qdre-git pkgver=cd3e93a pkgrel=1 pkgdesc='Qt Desktop Regular Environment (early development)' arch=('x86_64') url='https://gitlab.com/zaps166/qdre' license=('MIT') groups=('qdre') depends=('qt5-base' 'qt5-x11extras' 'glib2' 'gnome-menus' 'exiv2' 'kcrash' 'kwindowsystem' 'libxcb') makedepends=('fakeroot' 'make' 'gcc' 'cmake' 'git') optdepends=('drkonqi') # options=(!strip debug) source=("git+https://gitlab.com/zaps166/qdre.git#branch=master") sha1sums=("SKIP") prepare() { mkdir -p build } pkgver() { cd qdre git rev-parse --short HEAD } build() { cd build cmake ../qdre \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release make } # check() { # cd build # ctest -V # } package() { cd build make DESTDIR="${pkgdir}" install }