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

_pkgname='passmanpp'
pkgname='passman++-lts'
pkgdesc='Incredibly simple and secure command-line password manager. - LTS releases'
url="https://github.com/binex-dsk/$_pkgname/"
license=('BSD')
pkgver=1.4.0p
pkgrel=2
source=("https://github.com/binex-dsk/$_pkgname/archive/$pkgver.tar.gz")
md5sums=('4597ed3a0029c907e171f4cb6c52b7e2')
provides=('passman')
conflicts=('passman-git' 'passman++-devel' 'passman++')
depends=('botan' 'libsodium' 'qt5-base' 'ttf-hack')
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
}