updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / lcnb_acpi / PKGBUILD
blob07e40075bac9b970aa9dc27280091d51b4a254d1
1 # Maintainer: gyo <gyo_at_archlinux_dot_fr>
2 pkgname=lcnb_acpi
3 pkgver=0.10
4 pkgrel=1
5 pkgdesc="A module for handling ACPI hotkeys on Hercules eCAFE netbook"
6 arch=(i686)
7 url="http://www.ecafe.hercules.com/"
8 license=('GPL2')
9 groups=
10 provides=
11 depends=()
12 makedepends=()
13 install=($pkgname.install)
14 source=($pkgname-$pkgver.tar.gz
15         Makefile_standalone_compile.patch
16         lcnb_acpi_gcc43.patch)
17 md5sums=('9504ab8e81c0275bca218364e77039b1'
18          '6d279f06f88dfebb77dd9ab21bcb5036'
19          '4eef008bd77c5449eded4e1c05d2a577')
22 build() {
23   cd $srcdir/$pkgname-$pkgver-1mdv2008.1/
24   patch -Np1 -i ../Makefile_standalone_compile.patch || return 1
25   patch -Np1 -i ../lcnb_acpi_gcc43.patch || return 1
26   make || return 1
27   install -d -m755 $pkgdir/lib/modules/`uname -r`/3rdparty/acpi/
28   install -m644 $pkgname.ko $pkgdir/lib/modules/`uname -r`/3rdparty/acpi/