summaryrefslogtreecommitdiffstats
path: root/main/libxklavier/APKBUILD
blob: 522a032a7ac362bd4e44a53836e653fe41170d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxklavier
pkgver=4.0
pkgrel=0
pkgdesc="High-level API for X Keyboard Extension"
url="http://gswitchit.sourceforge.net"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends="xkeyboard-config iso-codes"
makedepends="pkgconfig libxkbfile-dev libxml2-dev glib-dev libxi-dev iso-codes
	gettext-dev libiconv-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"

depends_dev="libxml2-dev glib-dev gettext-dev"

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
}
md5sums="1b714ba04835fb49511f9e1444a5ea4c  libxklavier-4.0.tar.bz2"