# $Id: PKGBUILD 168753 2012-10-15 14:42:49Z foutrelis $ # Maintainer: Evangelos Foutras # Contributor: AndyRTR # Contributor: Tobias Kieslich pkgname=xfce4-xkb-plugin pkgver=0.5.4.3 pkgrel=3 pkgdesc="Plugin to switch keyboard layouts for the Xfce4 panel" arch=('i686' 'x86_64') url="http://goodies.xfce.org/projects/panel-plugins/xfce4-xkb-plugin" license=('custom') groups=('xfce4-goodies') depends=('xfce4-panel' 'libxklavier' 'librsvg') makedepends=('intltool') options=('!libtool') source=(http://archive.xfce.org/src/panel-plugins/$pkgname/0.5/$pkgname-$pkgver.tar.bz2 xfce4-xkb-plugin-0.5.4.3-2-fix-memory-corruption.patch) sha256sums=('ca4801bb2edfe04eeceb71879b3cf79a0674e8311c39117efdb9d3521307396d' 'f5e6e5964df897045ed8c3443f632033689409459acdc54c0351264edc11b4ce') build() { cd "$srcdir/$pkgname-$pkgver" # https://bugs.archlinux.org/task/31880 patch -Np1 -i "$srcdir/xfce4-xkb-plugin-0.5.4.3-2-fix-memory-corruption.patch" ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-static \ --disable-debug make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } # vim:set ts=2 sw=2 et: