updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / ifled / PKGBUILD
blob38fb03716e3fafeb49ae384d2410870422a3b5ae
1 # Contributor: Gilles CHAUVIN <gcnweb at gmail dot com>
3 # /!\ Source package is included in AUR because the home-page /!\
4 # /!\ doesn't exist anymore hence the weird $url below !...   /!\
6 pkgname=ifled
7 pkgver=0.6
8 pkgrel=7
9 pkgdesc="A program that uses the keyboard LEDs to indicate network activity"
10 url="http://web.archive.org/web/20011210154318/www.sudac.org/~napolium/linux/"
11 license=('GPL')
12 depends=('bash')
13 source=($pkgname-$pkgver.tar.bz2 ifled_init_script ifled_sysconfig ifled.patch)
14 arch=('i686')
15 install="ifled.install"
16 backup=('etc/sysconfig/ifled')
18 md5sums=('b96cd29862e73fdb7a679fbcf2e85f4e'
19          'd1a6e0b672eef01b71c88441247496f5'
20          'e2ee30b9f65c451a46370b1c4a1f899d'
21          '69b34de4429d0c1974b4c21180267bec')
23 build() {
24   cd $startdir/src/$pkgname-$pkgver
26   # Fix: Warnings
27   patch -p0 < ../ifled.patch
29   make || return 1
31   mkdir   -p    $startdir/pkg{/etc/{rc.d,sysconfig},/usr/sbin}
32   install -m755 $startdir/src/$pkgname-$pkgver/ifled $startdir/pkg/usr/sbin/ifled
33   install -m755 $startdir/src/ifled_init_script      $startdir/pkg/etc/rc.d/ifled
34   install -m644 $startdir/src/ifled_sysconfig        $startdir/pkg/etc/sysconfig/ifled