# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=pwsafe pkgver=0.2.0_git20210320 pkgrel=2 _commit=3af22b1b81004606b17a4f13ea7bff65b727a7cc pkgdesc="Password database" url="https://github.com/nsd20463/pwsafe" arch="all" license="GPL-2.0" makedepends="autoconf automake ncurses-dev openssl-dev>3 libxmu-dev readline-dev" subpackages="$pkgname-doc" source="https://github.com/nsd20463/pwsafe/archive/$_commit/$pkgname-$_commit.tar.gz" options="suid" builddir="$srcdir/$pkgname-$_commit" prepare() { default_prepare aclocal && autoheader && automake --add-missing && autoconf } build() { ./configure --prefix=/usr --mandir=/usr/share/man && make && make check } package() { make DESTDIR="$pkgdir" install && chmod u+s "$pkgdir"/usr/bin/pwsafe } sha512sums=" 86dcac986c9d99678c2f7c7ba29c099fa17d251138dc7812e1acd774fad7d4c48102b710979eb9351d226068efcc16b128c496849bb8cd5bcdc590aa4f48a852 pwsafe-3af22b1b81004606b17a4f13ea7bff65b727a7cc.tar.gz "