summaryrefslogtreecommitdiff
path: root/extra/libxkbcommon/PKGBUILD
blob: 1d4c5811d401cee1a7048410cca84f4ef5c530a1 (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
26
27
28
29
30
# $Id: PKGBUILD 188191 2013-06-12 13:53:24Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Mladen Pejakovic <pejakm@gmail.com>

pkgname=libxkbcommon
pkgver=0.3.1
pkgrel=1
pkgdesc="Keyboard handling library using XKB data"
arch=(i686 x86_64)
url="http://xkbcommon.org/"
license=(custom)
depends=(xkeyboard-config)
makedepends=(doxygen xorg-util-macros)
options=('!libtool')
source=("http://xkbcommon.org/download/$pkgname-$pkgver.tar.xz")
#source=("$pkgname-$pkgver::git://github.com/xkbcommon/$pkgname.git")
md5sums=('7287ea51df79c0f80e92b970a30b95e9')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}