summaryrefslogtreecommitdiff
path: root/extra/xcb-util/PKGBUILD
blob: 0045d68371c41becc894d678d26fb844c9531da8 (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
# $Id: PKGBUILD 50472 2009-08-27 18:32:48Z ronald $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>

pkgname=xcb-util
pkgver=0.3.6
pkgrel=1
pkgdesc="Utility libraries for XC Binding"
arch=('i686' 'x86_64')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.4')
makedepends=('gperf')
options=('!libtool')
source=(http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2
        LICENSE)
md5sums=('dd8968b8ee613cb027a8ef1fcbdc8fc9'
         '2672c2e72dedb40f773e989dd622f298')

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