# $Id: PKGBUILD 18578 2008-11-07 22:16:28Z jgc $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxaw
pkgver=1.0.5
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=('64e7782db4653cb57c7f7e660b2431c3')

build() {
  cd "${srcdir}/libXaw-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc || 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
}