blob: cb9392b16bf56df3ee4bb08c064e1f7580eb36ef (
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: zurrty <justinsane3014 at gmail>
pkgname=primer-git
_pkgname=primer
pkgver=0.2.0
pkgrel=1
pkgdesc="PRIME GPU offload helper for Wayland systems"
arch=('x86_64')
url="https://github.com/zurrty/primer"
license=('GPL')
depends=('git' 'pacman' 'systemd-libs' 'zenity')
makedepends=('cargo')
#optdepends=('zenity: showing user dialogs' 'kdialog: showing user dialogs')
provides=('primer')
conflicts=('primer')
source=("git+https://github.com/zurrty/primer")
sha256sums=(SKIP)
build() {
cd "$srcdir/$_pkgname"
cargo build --release --target-dir target
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 target/release/primer "${pkgdir}/usr/bin/primer"
}
|