summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3bbcff56bcf2fc83e855dbf781e651586734463c (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
# 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=('GPL')
pkgver=2.1.1
pkgrel=1
source=("https://github.com/binex-dsk/$_pkgname/archive/$pkgver.tar.gz")
md5sums=('10875cba388b6502b5e6999280ad5c31')
provides=('passman')
conflicts=('passman-git' 'passman++-devel' 'passman++-lts')
depends=('botan' 'qt6-base' 'libpassman')
arch=('x86_64')

build() {
    cd $srcdir/$_pkgname-$pkgver
    cmake -S . -B build -DCMAKE_INSTALL_PREFIX="/usr"
    cmake --build build
}

package() {
    cd $srcdir/$_pkgname-$pkgver
    cmake --build build --target install -- DESTDIR="$pkgdir"
}