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

24 lines
786 B
Bash

# 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
}