blob: abeae5fafe90d6f4ccbae27df76f353e57dbea98 (
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
|
# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io>
pkgname=malc
pkgver=0.1.0
_commit=e1e54e9999de38a3197682b473f728b1598ebd29
pkgrel=1
pkgdesc="Change a MacBooks' keyboard backlight level based on current ambient light."
arch=("x86_64")
url="https://gitlab.com/WhyNotHugo/malc/"
license=('ISC')
depends=('rust')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/WhyNotHugo/$pkgname/repository/archive.tar.gz?ref=v$pkgver")
md5sums=('SKIP')
build() {
cd "$srcdir/$pkgname-v$pkgver-$_commit"
make
}
package() {
cd "$srcdir/$pkgname-v$pkgver-$_commit"
make DESTDIR="$pkgdir/" PREFIX=/usr/ install
}
|