28 lines
656 B
Plaintext

# Description: plugin to switch keyboard layouts on the xfce-panel
# URL: https://docs.xfce.org/panel-plugins/xfce4-xkb-plugin/start
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: libnotify librsvg libxklavier xfce4-panel
# Optional: xfce4-notifyd
name=xfce4-xkb-plugin
version=0.8.3
release=1
source=(https://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--libexecdir=/usr/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-nls \
--disable-debug
make
make DESTDIR=$PKG install
rm $PKG/usr/lib/xfce4/panel/plugins/*.la
}