summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d52c07c23e508fc9c68e57dd962b79342c3ea36 (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: Alexander Kjäll <alexander.kjall@gmail.com>
pkgname=ripasso-git
pkgrelname=ripasso
pkgver=149
pkgrel=1
pkgdesc="A password manager that uses the file format of the standard unix password manager 'pass', implemented in rust."
url="https://github.com/cortex/ripasso/"
arch=('x86_64')
license=("GPL3")
depends=()
makedepends=('openssl' 'libgit2' 'gettext' 'cargo')
source=("git://github.com/cortex/ripasso.git")
conflicts=('ripasso')
md5sums=('SKIP')

build() {
    cd "$pkgrelname" || exit 1
    cargo build -p ripasso-cursive --release
}

pkgver() {
  cd ${srcdir}/${pkgrelname} || exit 1
  git rev-list --count HEAD
}

package() {
    cd "$pkgrelname" || exit 1
    install -Dm4555 "$srcdir/$pkgrelname/target/release/ripasso-cursive" "$pkgdir/usr/bin/$pkgrelname-cursive"
}