4 pkgdesc="Ubuntu ACPI support package"
5 depends=('acpid' 'netkit-bsd-finger' 'dmidecode')
7 provides=('acpi-support' 'acpi_fakekey')
8 conflicts=('acpi_fakekey')
9 url="http://packages.ubuntu.com/acpi-support"
11 [ "$CARCH" = i686 ] && source=(http://nl.archive.ubuntu.com/ubuntu/pool/main/a/$pkgname/$pkgname"_"$pkgver"_"i386.deb acpi-support)
12 [ "$CARCH" = x86_64 ] && source=(http://nl.archive.ubuntu.com/ubuntu/pool/main/a/$pkgname/$pkgname"_"$pkgver"_"amd64.deb acpi-support)
13 [ "$CARCH" = i686 ] && md5sums=('dac52504a2afd8a90fbbe954fcc2372f' '6e58ece63e8298dc58cac05be0de2a0e')
14 [ "$CARCH" = x86_64 ] && md5sums=('3917003ffe349f6d1e7ee5d6ebe2296b' '6e58ece63e8298dc58cac05be0de2a0e')
16 arch=('i686' 'x86_64')
18 install=($pkgname.install)
23 [ "$CARCH" = i686 ] && ar x $pkgname"_"$pkgver"_"i386.deb
24 [ "$CARCH" = x86_64 ] && ar x $pkgname"_"$pkgver"_"amd64.deb
26 tar xf data.tar.gz -C $ROOT
27 rm -r $ROOT/etc/init.d
28 mkdir -p $ROOT/etc/rc.d
29 cp acpi-support $ROOT/etc/rc.d
30 chmod +x $ROOT/etc/rc.d/acpi-support