PKGBUILDs/extra/libxklavier/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
849 B
Bash

# $Id: PKGBUILD 36052 2009-04-19 19:42:53Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Arjan Timmerman <arjan@archlinux.org>
pkgname=libxklavier
pkgver=3.9
pkgrel=2
pkgdesc="High-level API for X Keyboard Extension"
arch=(i686 x86_64)
license=('LGPL')
depends=('libxkbfile>=1.0.5' 'libxml2>=2.7.3' 'glib2>=2.20.1' 'xkeyboard-config>=1.5' 'libxi>=1.2.1' 'iso-codes>=3.8')
makedepends=('pkgconfig')
options=('!libtool' '!emptydirs')
url="http://gswitchit.sourceforge.net"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('c8ff3ba6daf899be7ec2a626894852b9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--with-xkb-base=/usr/share/X11/xkb --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}