initial commit

master
Cole Deck 4 years ago
commit cc08598ae1

File diff suppressed because it is too large Load Diff

BIN
.MTREE

Binary file not shown.

@ -0,0 +1,19 @@
# Generated by makepkg 5.2.2
# using fakeroot version 1.24
pkgname = asus-nb-ctrl-git
pkgbase = asus-nb-ctrl-git
pkgver = 1.0.2.r6.gb8c83a1-1
pkgdesc = Kernel module to patch asus-nb-wmi to support more ROG laptops
url = https://gitlab.com/asus-linux/asus-nb-ctrl
builddate = 1598229076
packager = Unknown Packager
size = 1649264
arch = x86_64
depend = libusb
depend = dbus
makedepend = rust
makedepend = libusb
makedepend = dbus
makedepend = llvm
makedepend = clang
makedepend = systemd

@ -0,0 +1,19 @@
pkgbase = asus-nb-ctrl-git
pkgdesc = Kernel module to patch asus-nb-wmi to support more ROG laptops
pkgver = 1.0.2.r6.gb8c83a1
pkgrel = 1
url = https://gitlab.com/asus-linux/asus-nb-ctrl
arch = x86_64
makedepends = rust
makedepends = libusb
makedepends = dbus
makedepends = llvm
makedepends = clang
makedepends = systemd
depends = libusb
depends = dbus
source = git+https://gitlab.com/asus-linux/asus-nb-ctrl.git
sha256sums = SKIP
pkgname = asus-nb-ctrl-git

@ -0,0 +1,38 @@
# Maintainer : Cole Deck <cole at deck dot sh>
pkgname=asus-nb-ctrl-git
_pkgname=asus-nb-ctrl
pkgver=1.0.2.r6.gb8c83a1
pkgrel=1
pkgdesc="Kernel module to patch asus-nb-wmi to support more ROG laptops"
arch=('x86_64')
url="https://gitlab.com/asus-linux/asus-nb-ctrl"
license=()
provides=()
conflicts=()
depends=('libusb' 'dbus')
makedepends=('rust' 'libusb' 'dbus' 'llvm' 'clang' 'systemd')
source=("git+https://gitlab.com/asus-linux/asus-nb-ctrl.git")
sha256sums=("SKIP")
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
cargo build --release --locked --all-features --target-dir=target
}
package() {
cd "${srcdir}/${_pkgname}"
install -D -m 0755 target/release/asusd ${pkgdir}/usr/bin/asusd
install -D -m 0755 target/release/asusctl ${pkgdir}/usr/bin/asusctl
install -D -m 0644 data/asusd.rules ${pkgdir}/etc/udev/rules.d/90-asusd.rules
install -D -m 0644 data/asusd.conf ${pkgdir}/etc/dbus-1/system.d/asusd.conf
install -D -m 0644 data/asusd.service ${pkgdir}/usr/lib/systemd/system/asusd.service
install -D -m 0644 data/asusd-ledmodes.toml ${pkgdir}/etc/asusd/asusd-ledmodes.toml
#make DESTDIR="${pkgdir}" install
}
Loading…
Cancel
Save