mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
968 B
Bash
28 lines
968 B
Bash
# $Id: PKGBUILD 49712 2009-08-15 12:44:21Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=hal-info
|
|
_date=20090716
|
|
pkgver=0.${_date}
|
|
pkgrel=2
|
|
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
|
|
git-fixes.patch)
|
|
md5sums=('36b7e3a84667b4570a224111583a710b'
|
|
'70f7807f3bba77002494501ab68697a1')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${_date}"
|
|
patch -Np1 -i "${srcdir}/git-fixes.patch" || return 1
|
|
./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
|
|
}
|