summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a25eb641836d861c82d67d56410e690b17f030aa (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
27
28
29
# Maintainer: Vasia Novikov <n1dr+cmarchlinux@yaaandex.com> (replace "aaa" with "a")

pkgname=rua
pkgver=0.5.5
pkgrel=3
pkgdesc='convenient jailed AUR helper in rust'
url='https://github.com/vn971/rua'
source=("git+https://github.com/vn971/rua.git#tag=$pkgver")
arch=('x86_64' 'i686')
license=('GPL3')
makedepends=('cargo')
depends=('bubblewrap' 'git')

# gpg --keyserver keys.gnupg.net --recv-keys AEA6FBA1A5CC9777229EADAB63227A540AC1F12B
validpgpkeys=('AEA6FBA1A5CC9777229EADAB63227A540AC1F12B')
sha512sums=('SKIP')

prepare() {
  git verify-commit HEAD
}

build () {
  cd "$srcdir/$pkgname"
  cargo build --release
}

package() {
  install -Dm755 "${srcdir}/$pkgname/target/release/rua" "${pkgdir}/usr/bin/rua"
}