# $Id: PKGBUILD 61557 2009-12-19 19:17:15Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

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

build() {
  cd "${srcdir}/${pkgname}-${_date}"
  ./configure --prefix=/usr --sysconfdir=/etc \
    --enable-killswitch-dell-wlan=no --enable-killswitch-dell-bluetooth=no \
    --enable-killswitch-dell-wwan=no || 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
}