Misc packages for Arch Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
831 B

# Maintainer: Steven Noonan <steven@uplinklabs.net>
pkgname=rog-core
pkgbase=rog-core
pkgver=0.15.3+6+gc6d40d3
pkgrel=1
pkgdesc="A utility for Linux to control many aspects (eventually) of the ASUS ROG laptops like the Zephyrus GX502GW"
arch=('x86_64')
url="https://github.com/flukejones/rog-core"
license=('MPL2')
depends=(dbus libusb)
makedepends=(rust clang git)
source=("rog-core::git+${url}.git"
"install-dir.patch")
sha256sums=('SKIP'
'78ec239b5255d1d6dd4e7ef67d61eab58f79b4d03a27de648c790f6077ad0e46')
pkgver() {
cd "$srcdir"/$pkgname
git describe --tags | sed 's/^v//;s/-/+/g'
}
prepare() {
patch -d "$srcdir"/$pkgname -p1 < install-dir.patch
}
build() {
cd "$srcdir"/$pkgname
make
}
package() {
cd "$srcdir"/$pkgname
DESTDIR="$pkgdir"/ make install
}
# vim: set ts=2 sts=2 sw=2 et: