summaryrefslogtreecommitdiffstats
path: root/abs/core/xcb-util/PKGBUILD
blob: 6d1ccd256a8c34d638ca28a234fdd1340a0e926a (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 50451 2009-08-27 10:03:32Z andrea $
# 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
}