PKGBUILDs/extra/libxdamage/PKGBUILD
2009-11-18 11:04:34 -08:00

24 lines
754 B
Bash

# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxdamage
pkgver=1.1.1
pkgrel=2
pkgdesc="X11 damaged region extension library"
arch=('arm')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes>=4.0.3' 'damageproto>=1.1')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXdamage-${pkgver}.tar.bz2)
md5sums=('ac0ce6b0063a9858c8f24ddb4c60487d')
build() {
cd ${srcdir}/libXdamage-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--build=${CHOST} --host=${CHOST}
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}