updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lach / PKGBUILD
blobf8b1287ca9aaf85fe9f2cb729b848f1ee085ca4c
1 # Contributor: gothicknight <gothicknight@gmail.com>
3 # ------------------------------------------------------------------ Package Description
4 pkgname=lach
5 pkgver=0.5.5
6 pkgrel=2
7 pkgdesc="Laptop ATI CPU & HDD Control"
8 url="http://sf.net/projects/lach"
9 license="GPL"
10 arch=(i686)
12 # ------------------------------------------------------------------ Package Management
13 depends=(hddtemp hdparm)
14 conflicts=(lach)
15 provides=(lach)
17 # ------------------------------------------------------------------ Files
18 source=(http://mesh.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
19         Makefile.patch
20         configure.patch)
22 md5sums=('a5e653ca69d5da7581061da5a62c65a4'\
23          '88981f0ee1027d61119adef7ca94dd5c'\
24          '3383cf241d69668319be4723ce75e22d')
26 # ------------------------------------------------------------------ Build and instalation
27 build() {
28         cd $startdir/src/
29         patch Makefile Makefile.patch
30         patch configure configure.patch
31         make
32         mkdir $startdir/pkg/usr/
33         mkdir $startdir/pkg/usr/bin
34         cp lach $startdir/pkg/usr/bin/