aboutsummaryrefslogblamecommitdiffstats
path: root/unmaintained/xca/APKBUILD
blob: ea7c293211b99573a4e8491ad0d769435cd0889a (plain) (tree)















































                                                                                                                                                               
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=xca
pkgver=1.3.2
pkgrel=0
pkgdesc="X Certificate and Key management"
url="http://sourceforge.net/projects/xca/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev openssl-dev qt-dev libtool"
install=""
subpackages="$pkgname-doc"
source="http://skylink.dl.sourceforge.net/project/xca/xca/$pkgver/xca-$pkgver.tar.gz"

_builddir="$srcdir"/xca-$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 \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make destdir="$pkgdir" install || return 1
}

md5sums="f9528164f46a78c7a2373778bc019c48  xca-1.3.2.tar.gz"
sha256sums="04f11f2148c8369c1a1b4e109956ed8cc807ec266d0d936410624ba8ee4b5ce4  xca-1.3.2.tar.gz"
sha512sums="f0a9c4d47f0c20632f44364cc55293a7d2152772a746a72bc4a46622da4e48ae612bafe918c098a71c29cdfca8e6c03c27cf85a862ca0f356eddf061414c89b2  xca-1.3.2.tar.gz"