summaryrefslogtreecommitdiff
path: root/extra/libxkbui/PKGBUILD
blob: 83b03186da79d57c22ac05a69f7138df241c64ed (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
# $Id: PKGBUILD 151385 2012-02-25 23:56:14Z pierre $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libxkbui
pkgver=1.0.2
pkgrel=4
pkgdesc="X11 keyboard UI presentation library"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxt' 'libxkbfile')
makedepends=('pkgconfig')
options=('!libtool')
source=("${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2"
        'LICENSE')
md5sums=('1143e456f7429e18e88f2eadb2f2b6b1'
         'd1efaa1271fc028cd5bec33f836ee9ef')

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

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -D -m644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}