PKGBUILDs/extra/libxdmcp/PKGBUILD
2009-10-11 13:11:41 -05:00

23 lines
676 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxdmcp
pkgver=1.0.2
pkgrel=2
pkgdesc="X11 Display Manager Control Protocol library"
arch=('arm')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xproto' 'glibc')
makedepends=('pkgconfig')
options=('!libtool')
source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2)
md5sums=('10facf2bc7cbd5e5c1a698b8a210a582')
build() {
cd ${srcdir}/libXdmcp-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--host=${CHOST} --build=${CHOST}
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}