# $Id: PKGBUILD 56419 2009-10-21 20:31:46Z andyrtr $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libxaw pkgver=1.0.7 pkgrel=1 pkgdesc="X11 Athena Widget library" arch=(i686 x86_64) license=('custom') url="http://xorg.freedesktop.org/" depends=('libxmu' 'libxpm') makedepends=('pkgconfig') options=('!libtool') source=(${url}/releases/individual/lib/libXaw-${pkgver}.tar.bz2) md5sums=('815e74de989ccda684e2baf8d12cf519') build() { cd "${srcdir}/libXaw-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --disable-static || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 }