summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22805b21dd356ff2c71ec56d3a97d06780127b07 (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
# Maintainer: Quentin Boyer <(firstname) at familleboyer DOT net>
pkgname=nextpass
pkgver=0.3.1
pkgrel=1
pkgdesc='CLI client for nextcloud passwords'
arch=('x86_64' 'aarch64' 'armv7')
url='https://github.com/traxys/nextpass'
license=('GPL3')
makedepends=('rust')
depends=('openssl')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('c7ce542e9d026df4814f9040fd5aa641faa7fe0709e32b2df3dca1bd25aef955')

build() {
	cd "$pkgname-$pkgver"

	cargo build --release
}

package() {
	cd "$pkgname-$pkgver"

	install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}