core/libxklavier/PKGBUILD

32 lines
845 B
Bash

# Part of the X.org group
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
# contributor: abveritas@chakra-project.org
pkgname=libxklavier
pkgver=5.4
pkgrel=1
pkgdesc="High-level API for X Keyboard Extension"
arch=('x86_64')
license=('LGPL')
depends=('libxkbfile' 'libxml2' 'glib2' 'xkeyboard-config' 'libxi' 'iso-codes')
makedepends=('pkg-config')
options=('!emptydirs')
url="http://gswitchit.sourceforge.net"
source=("http://cgit.freedesktop.org/$pkgname/snapshot/$pkgname-$pkgver.zip")
md5sums=('65138db064bfe192e415362f0fa882bb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
autoreconf --force --install --verbose
./configure --prefix=/usr \
--with-xkb-base=/usr/share/X11/xkb --disable-static --disable-gtk-doc
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}