blob: d8c6bd347dc257e14f820b11baf62bd9a89859b2 (
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
|
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
pkgname=kbdlight
pkgver=1.3
pkgrel=1
pkgdesc="A very simple application that changes MacBooks' keyboard backlight level."
arch=("x86_64")
url="https://github.com/WhyNotHugo/kbdlight/"
license=('BSD')
source=("https://github.com/WhyNotHugo/$pkgname/archive/v${pkgver}.zip")
md5sums=('a1f8fd0a6e0bc134b4823fa0f831d1b0')
build() {
cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" PREFIX=/usr/ install
chmod 4755 "$pkgdir/usr/bin/$pkgname"
}
|