summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/hal-info/PKGBUILD
blob: a7f8dd07a8f6983b9630b1923dabf387934d81f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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
}