summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa94025d27aa38f616bf7198f9e8038c9d459eba (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: FadeMind <fademind@gmail.com>

pkgname=asus-nb-wmi-reload-git
pkgver=20160528
pkgrel=1
pkgdesc="Systemd service for reload Asus Notebooks WMI Hotkey Driver after resume for restoring light on WLAN LED"
arch=('any')
url="https://github.com/FadeMind/${pkgname%-git}"
license=('GPL2')
depends=('bash' 
         'kmod' 
         'systemd')
makedepends=('git' 'make')
source=("${pkgname%-git}::git+${url}.git")
sha256sums=('SKIP')
install="${pkgname%-git}.install"

pkgver() {
    cd ${pkgname%-git}
    git log -1 --format="%cd" --date=short | tr -d '-'
}

package() {
    cd ${pkgname%-git}
    make install DESTDIR="$pkgdir"
}