summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a37b9ae904865d428961799b2957df4613039495 (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: Carson Rueter <roachh@protonmail.com>

_pkgname='passmanpp'
pkgname='passman++'
pkgdesc='Incredibly simple and secure command-line password manager.'
url="https://github.com/binex-dsk/$_pkgname/"
license=('BSD')
pkgver=1.1.0
pkgrel=1
source=("https://github.com/binex-dsk/$_pkgname/archive/$pkgver.zip")
md5sums=('6191151651c0f1d5939b7097d485fa7c')
provides=('passman')
conflicts=('passman-git')
depends=('botan' 'libsodium' 'qt5-base')
arch=('x86_64')

build() {
    cd "$srcdir/$_pkgname-$pkgver/src"
    qmake passman.pro
    make && make clean
}

package() {
    cd "$srcdir/$_pkgname-$pkgver"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    cd "src"
    install -Dm755 passman $pkgdir/usr/bin/passman
}