PKGBUILDs/extra/xcb-util/PKGBUILD
2009-09-26 09:35:50 -05:00

24 lines
783 B
Bash

# $Id: PKGBUILD 37466 2009-05-02 03:57:25Z eric $
# 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"
}