summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b22cedbd6fda2e35e5f312b9aa092676860153d5 (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
30
pkgname=yupass
pkgver=0.1.1
pkgrel=4
pkgdesc="This is a password manager powered by the YubiKey"
url="https://github.com/StratusFearMe21/yupass"
license=('GPT-3')
arch=('any')
makedepends=(
	'rustup'
)
depends=(
	'gnupg'
	'zenity'
)
source=("${pkgname}.tar.gz::https://github.com/StratusFearMe21/yupass/archive/refs/tags/v${pkgver}.tar.gz")
conflicts=("${pkgname}" "${pkgname}-bin" "${pkgname}-git")

build() {
	rustup update stable
	cd "${srcdir}/yupass-${pkgver}/"
	cargo build --release
}

package() {
	cd "${srcdir}/yupass-${pkgver}/target/release/"
	install -d -m755 ${pkgdir}/usr/bin
	cp -r ./yupass ${pkgdir}/usr/bin/
}

sha256sums=('SKIP')