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

24 lines
832 B
Bash

# $Id: PKGBUILD 29289 2009-03-07 18:44:39Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxrandr
pkgver=1.3.0
pkgrel=1
pkgdesc="X11 RandR extension library"
arch=(arm)
license=('custom')
url="http://xorg.freedesktop.org/"
depends=('libxext>=1.0.5' 'libxrender' 'randrproto>=1.3.0')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXrandr-${pkgver}.tar.bz2)
md5sums=('68eb59c3b7524db6ffd78746ee893d1d')
build() {
cd "${srcdir}/libXrandr-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}