# Maintainer: Adam Goldsmith # Previous Maintainer: Hong Xu pkgname=xfce4-i3-workspaces-plugin-git pkgrel=1 pkgver=1.4.0.r0.gbaec90d pkgdesc="A workspace switcher plugin for xfce4-panel which can be used for the i3 window manager" arch=('i686' 'x86_64') url="https://github.com/denesb/xfce4-i3-workspaces-plugin" source=("${pkgname}::git+https://github.com/denesb/xfce4-i3-workspaces-plugin") md5sums=('SKIP') license=('GPLv3') depends=('xfce4-panel' 'i3ipc-glib-git') makedepends=('git' 'autoconf' 'automake' 'xfce4-dev-tools') provides=('xfce4-i3-workspaces-plugin') build() { cd "${pkgname}" msg "Starting make..." ./autogen.sh --prefix=/usr make } pkgver() { cd "${pkgname}" git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' } package() { cd "${pkgname}" make DESTDIR="${pkgdir}" install msg "Including license..." install -v -D -m 644 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }