summaryrefslogtreecommitdiff
path: root/community/libxkbcommon/PKGBUILD
blob: 3602d778bd838b7bb1085a00efdb9f7b575194dc (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
# $Id$
# Maintainer: Daniel Micay <danielmicay@gmail.com>
# Contributor: Mladen Pejakovic <pejakm@gmail.com>

pkgname=libxkbcommon
pkgver=0.2.0
pkgrel=3
pkgdesc="Keyboard handling library using XKB data"
arch=(i686 x86_64 mips64el)
url="http://xkbcommon.org/"
license=('custom')
depends=(glibc)
makedepends=(doxygen xorg-util-macros)
source=("http://xkbcommon.org/download/$pkgname-$pkgver.tar.bz2")
md5sums=('2be3d4a255d02c7d46fc6a9486f21f6a')
options=('!libtool')

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

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