aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pwsafe/APKBUILD
blob: 2c8b9886242745af321a06720784a6bbd5a112c8 (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
35
36
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer:
pkgname=pwsafe
pkgver=0.2.0
pkgrel=0
pkgdesc="Password database"
url="http://nsd.dyndns.org/pwsafe/"
arch="all"
license="GPL2"
subpackages="$pkgname-doc"
source="http://nsd.dyndns.org/pwsafe/releases/pwsafe-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

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