summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0da611fdb0b271506f3c68f618df3dc6739d4126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Lara Maia <dev@lara.click>

pkgname=cpuled
pkgdesc="It's a program to let the keyboard LEDs indicate CPU load."
url='http://web.archive.org/web/20011210154318/www.sudac.org/~napolium/linux/'
pkgver=0.1
pkgrel=4
arch=('i686' 'x86_64' 'armv6h')
depends=('glibc')
license=('GPL')

source=("http://web.archive.org/web/20150802072158/downloads.lara.click/$pkgname-$pkgver.tar.gz"
	'fix-warnings.patch'
	'makefile_update.patch')
	
md5sums=('9b84e1903f2eb555006de0a5cb243c56'
         '5bcf6651c1d14457dab7c4ed564fffaa'
         '7d54f422517caa23d355483495558f19')

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	
	patch -Np0 -i ../fix-warnings.patch
	patch -Np0 -i ../makefile_update.patch
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	
	make
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	
	make DESTDIR="$pkgdir" install
}