# Maintainer: Silvio Knizek _pkgname=xfce4-hotcorner-plugin pkgname="${_pkgname}-git" pkgver=0.0.1.r0.g8faf057 pkgrel=1 pkgdesc="Provides an easy way to set up hot corners in the Xfce desktop environment" arch=('i686' 'x86_64') license=('GPL2') url="https://github.com/brianhsu/xfce4-hotcorner-plugin" groups=("xfce4") depends=('xfce4-panel' 'libwnck') makedepends=('cmake' 'xfce4-dev-tools' 'git') provides=("${_pgname}") conflicts=("${_pkgname}") install="${_pkgname}.install" source=("${_pkgname}::git+https://github.com/brianhsu/${_pkgname}.git") sha256sums=('SKIP') pkgver() { cd "${srcdir}/${_pkgname}" git describe --long --tags | sed -r "s/^${_pkgname}-//;s/([^-]*-g)/r\1/;s/-/./g" } build() { cd "${srcdir}/${_pkgname}" cmake -DCMAKE_INSTALL_PREFIX=/usr } package() { cd "${srcdir}/${_pkgname}" make DESTDIR="$pkgdir" install }