PKGBUILDs/extra/xcb-util/PKGBUILD
2009-11-22 03:13:47 -08:00

25 lines
738 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andrea Scarpino <bash.lnx@gmail.com>
pkgname=xcb-util
pkgver=0.3.4
pkgrel=2
pkgdesc="Utility libraries for XC Binding"
arch=('arm')
url="http://xcb.freedesktop.org"
license=('custom')
depends=('libxcb>=1.2')
makedepends=('gperf')
options=('!libtool')
source=(http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2
LICENSE)
md5sums=('015314fe5e97d9390024275c6a3699a4'
'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"
}