_pkgname=plugin-wingmenu pkgname=$_pkgname pkgver=aa9ac43 pkgrel=1 pkgdesc="The LXQt policykit authentication agent" arch=("i686" "x86_64") url="https://lxqt.org" license=("GPL2") depends=("kwindowsystem" "qt5-x11extras" "liblxqt") makedepends=("git" "cmake" "qt5-base" "lxqt-build-tools") provides=("$_pkgname=$pkgver") conflicts=("$_pkgname") source=("git+https://github.com/slidinghotdog/$_pkgname.git") sha256sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" git describe --always | sed "s/-/./g" } build() { mkdir -p build cd build cmake "$srcdir/$_pkgname" \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd build make DESTDIR="$pkgdir" install }