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

27 lines
843 B
Bash

# $Id: PKGBUILD 35587 2009-04-14 05:34:34Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxcursor
pkgver=1.1.9
pkgrel=2
pkgdesc="X cursor management library"
arch=(arm)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxfixes' 'libxrender')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXcursor-${pkgver}.tar.bz2)
md5sums=('99b7554037a92b260891091e81815a0a')
build() {
cd ${srcdir}/libXcursor-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--build=${CHOST} --host=${CHOST}
make || return 1
make DESTDIR=${pkgdir} install || return 1
# install custom license
install -Dm644 $srcdir/libXcursor-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING || return 1
}