#Maintainer: Dimitris Tzemos <dijemos@gmail.com>

pkgname=setxkbmap
pkgver=1.3.4
pkgrel=1dj
source=("https://xorg.freedesktop.org/releases/individual/app/setxkbmap-${pkgver}.tar.xz")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "credits")
url='https://xorg.freedesktop.org/'

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"setxkbmap (Set the keyboard using the X Keyboard Extension)"
)


build() {
cd $startdir/src/setxkbmap-1.3.4
CFLAGS=$SLKCFLAGS \
CXXFLAGS=$SLKCFLAGS \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --sysconfdir=/etc \
  --localstatedir=/var \
  --infodir=/usr/info \
  --mandir=/usr/man \
  --with-xkb-config-root=/etc/X11/xkb \
  --build=$arch-slackware-linux

  make DESTDIR="${PKG}" install

} 
