# $Id: PKGBUILD 22303 2008-12-25 18:44:16Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=hal-info
_date=20081219
pkgver=0.${_date}
pkgrel=1
pkgdesc="Hardware Abstraction Layer information files"
arch=(i686 x86_64)
license=('GPL' 'custom')
url="http://www.freedesktop.org/wiki/Software/hal"
source=(http://hal.freedesktop.org/releases/hal-info-${_date}.tar.gz)
md5sums=('be7d6d47fd18250a99a3267e712d8af7')

build() {
  cd "${srcdir}/${pkgname}-${_date}"
  ./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
}