# Maintainer: Igor # Maintainer: gbr pkgname='xfce4-xkb-plugin-git' _pkgname='xfce4-xkb-plugin' pkgver=0.8.1.r94.g2d3801f pkgrel=1 pkgdesc='Plugin to switch keyboard layouts for the Xfce4 panel' arch=('i686' 'x86_64') url='https://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin' license=('GPL2') depends=('xfce4-panel' 'libxklavier' 'librsvg' 'libwnck3') makedepends=('xfce4-dev-tools') conflicts=('xfce4-xkb-plugin') source=("${pkgname}::git://git.xfce.org/panel-plugins/xfce4-xkb-plugin") sha256sums=('SKIP') pkgver() { cd "${srcdir}/${pkgname}" git describe --long | sed -r "s/^${_pkgname}-//;s/([^-]*-g)/r\1/;s/-/./g" } build() { cd "${srcdir}/${pkgname}" ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --disable-debug make } package() { cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${_pkgname}/COPYING" } # vim:set ts=4 sw=4 et: