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

27 lines
793 B
Bash

# $Id: PKGBUILD 35645 2009-04-15 00:03:42Z eric $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxfixes
pkgver=4.0.3
pkgrel=2
pkgdesc="X11 miscellaneous 'fixes' extension library"
arch=(arm)
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'fixesproto')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXfixes-${pkgver}.tar.bz2)
md5sums=('1990d19725a3c7f32290037f02d3737f')
build() {
cd ${srcdir}/libXfixes-${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/libXfixes-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING || return 1
}