Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=keyboard-configurator
- pkgver=1.1.0
- pkgrel=5
- pkgdesc="Configures keymap and backlight of System76 keyboards."
- arch=('x86_64')
- url="https://github.com/pop-os/keyboard-configurator"
- license=('GPL3')
- depends=('gtk3' 'hidapi' 'xz')
- makedepends=('cargo' 'systemd')
- source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
- sha256sums=('c84c4b21c44203bdc2130a3d3638105b39b474cdd60226422b6a037d8ebb5f0f')
- prepare() {
- cd "$pkgname-$pkgver"
- export RUSTUP_TOOLCHAIN=stable
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
- }
- build() {
- cd "$pkgname-$pkgver"
- export RUSTUP_TOOLCHAIN=stable
- make prefix=/usr
- }
- package() {
- cd "$pkgname-$pkgver"
- make prefix=/usr DESTDIR="$pkgdir/" install
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement