PKGBUILDs/extra/libxau/PKGBUILD

26 lines
800 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# $Id: PKGBUILD 10838 2008-08-31 13:22:37Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxau
pkgver=1.0.4
pkgrel=1
pkgdesc="X11 authorisation library"
arch=(arm)
url="http://xorg.freedesktop.org/"
depends=('glibc')
makedepends=('pkgconfig' 'xproto')
license=('custom')
options=('!libtool')
source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2)
md5sums=('0f2b88d857e0a3f5898e4759c541af46')
build() {
cd ${startdir}/src/libXau-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1
}