summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b2e80f56aa6ab7819c1bd7b0f0781f761fc011b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Code002Lover <admin at ipost dot rocks>
pkgname="ipass"
pkgver="1.0.0"
pkgrel="2"
pkgdesc="A simple password manager GUI"
arch=('any')
depends=('rust' 'openssl' 'libsoup' 'webkit2gtk')
license=('custom')
source=('https://github.com/002Hub/IPass-GUI/archive/refs/tags/v'$pkgver'.tar.gz')
sha256sums=('SKIP')
url="https://github.com/002Hub/IPass-GUI"

build() {
    cd IPass-GUI-$pkgver
    if cd library/.git; then cd .. && git pull && cd ..; else git clone https://github.com/002Hub/IPass-library library; fi
    cd src-tauri
    cargo build --release
}

package() {
    install -Dm755 IPass-GUI-$pkgver/src-tauri/target/release/ipass-gui -t "$pkgdir/usr/bin"
}