aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pwsafe/APKBUILD
blob: 768e9794708bf33f49c43b16bda6b559b9165b57 (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
30
31
32
33
34
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=pwsafe
pkgver=0.2.0
pkgrel=6
pkgdesc="Password database"
url="http://nsd.dyndns.org/pwsafe/"
arch="all !aarch64"
license="GPL2"
makedepends="ncurses-dev libressl-dev libxmu-dev readline-dev"
subpackages="$pkgname-doc"
source="http://nsd.dyndns.org/pwsafe/releases/pwsafe-$pkgver.tar.gz"
options="suid"

builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	default_prepare || return 1
	update_config_guess || return 1
}

build() {
	cd "$builddir"
	./configure --prefix=/usr --mandir=/usr/share/man && make && make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install && chmod u+s "$pkgdir"/usr/bin/pwsafe
}

md5sums="4bb36538a2772ecbf1a542bc7d4746c0  pwsafe-0.2.0.tar.gz"
sha256sums="61e91dc5114fe014a49afabd574eda5ff49b36c81a6d492c03fcb10ba6af47b7  pwsafe-0.2.0.tar.gz"
sha512sums="e8d3684f523f83def6317ef5561a02d1493685cfbda18707644bf335b7f45b1a548aae17a735838d9f6df345ddb17934607162a6e99348df625b34a9ad5f4cf3  pwsafe-0.2.0.tar.gz"