# Contributor: Kaarle Ritvanen # Maintainer: setglobal pkgname = 'pwsafe' setglobal pkgver = '0.2.0' setglobal pkgrel = '6' setglobal pkgdesc = '"Password database'" setglobal url = '"http://nsd.dyndns.org/pwsafe/'" setglobal arch = '"all !aarch64'" setglobal license = '"GPL2'" setglobal makedepends = '"ncurses-dev libressl-dev libxmu-dev readline-dev'" setglobal subpackages = ""$pkgname-doc"" setglobal source = ""http://nsd.dyndns.org/pwsafe/releases/pwsafe-$pkgver.tar.gz"" setglobal options = '"suid'" setglobal builddir = ""$srcdir/$pkgname-$pkgver"" proc prepare { default_prepare || return 1 update_config_guess || return 1 } proc build { cd $builddir ./configure --prefix=/usr --mandir=/usr/share/man && make && make check } proc package { cd $builddir make DESTDIR="$pkgdir" install && chmod u+s "$pkgdir"/usr/bin/pwsafe } setglobal md5sums = '"4bb36538a2772ecbf1a542bc7d4746c0 pwsafe-0.2.0.tar.gz'" setglobal sha256sums = '"61e91dc5114fe014a49afabd574eda5ff49b36c81a6d492c03fcb10ba6af47b7 pwsafe-0.2.0.tar.gz'" setglobal sha512sums = '"e8d3684f523f83def6317ef5561a02d1493685cfbda18707644bf335b7f45b1a548aae17a735838d9f6df345ddb17934607162a6e99348df625b34a9ad5f4cf3 pwsafe-0.2.0.tar.gz'"