summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFadeMind2016-03-12 10:11:11 +0100
committerFadeMind2016-03-12 10:11:11 +0100
commitc1868f321115258f45110a8588fd7068264ebb38 (patch)
treedac3f652799d13ad8442a38448bd0e67c4323b34
parent082037fcc3e6a9487d9c4714864c565ef262a196 (diff)
downloadaur-c1868f321115258f45110a8588fd7068264ebb38.tar.gz
update
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD23
2 files changed, 15 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5d6169e3d40..7ca65852961 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Feb 17 18:34:29 UTC 2016
+# Sat Mar 12 09:11:11 UTC 2016
pkgbase = asus-nb-wmi-reload-git
- pkgdesc = A systemd service for reload ASUS NB WMI Driver after resume
- pkgver = 20160126
+ pkgdesc = Systemd service for reload Asus Notebooks WMI Hotkey Driver after resume for restoring light on WLAN LED
+ pkgver = 20160312
pkgrel = 1
url = https://github.com/FadeMind/asus-nb-wmi-reload
install = asus-nb-wmi-reload.install
@@ -11,7 +11,6 @@ pkgbase = asus-nb-wmi-reload-git
makedepends = git
depends = bash
depends = kmod
- depends = sudo
depends = systemd
source = asus-nb-wmi-reload::git+https://github.com/FadeMind/asus-nb-wmi-reload.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 37fc4385056..09c9d505c79 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,26 @@
# Maintainer: FadeMind <fademind@gmail.com>
-_pkgname=asus-nb-wmi-reload
pkgname=asus-nb-wmi-reload-git
-pkgver=20160126
+pkgver=20160312
pkgrel=1
-pkgdesc="A systemd service for reload ASUS NB WMI Driver after resume"
+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}"
+url="https://github.com/FadeMind/${pkgname/-git/}"
license=('GPL2')
-depends=('bash' 'kmod' 'sudo' 'systemd')
+depends=('bash'
+ 'kmod'
+ 'systemd')
makedepends=('git')
-source=("${_pkgname}::git+${url}.git")
+source=("${pkgname/-git/}::git+${url}.git")
sha256sums=('SKIP')
-install="${_pkgname}.install"
+install="${pkgname/-git/}.install"
pkgver() {
- cd ${srcdir}/${_pkgname}
+ cd ${pkgname/-git/}
git log -1 --format="%cd" --date=short | tr -d '-'
}
package() {
- install -Dm644 "${srcdir}/${_pkgname}/${_pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${_pkgname}.service"
- install -Dm755 "${srcdir}/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
-}
+ install -Dm644 "${pkgname/-git/}/${pkgname/-git/}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname/-git/}.service"
+ install -Dm755 "${pkgname/-git/}/${pkgname/-git/}" "${pkgdir}/usr/bin/${pkgname/-git/}"
+}