summaryrefslogtreecommitdiffstats
path: root/abs/core/kbproto/PKGBUILD
blob: 9cd471daf735243cfa1b70f01d11da1c47a5f404 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $Id: PKGBUILD 56308 2009-10-21 14:34:49Z jgc $
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=kbproto
pkgver=1.0.4
pkgrel=1
pkgdesc="X11 XKB extension wire protocol"
arch=(any)
url="http://xorg.freedesktop.org/"
license=('custom')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('d300745389d3a80d90c9a3c989651f228db486e5')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}