1 # Contributor: Andrea Zucchelli <zukka77@gmail.com>
6 pkgdesc="graphical user interface to OpenSSL, RSA/DSA public keys, certificates, signing requests and revokation lists"
8 url="http://www.hohnstaedt.de/xca.html"
10 depends=('qt>=4.3' 'openssl')
11 makedepends=('linuxdoc-tools')
12 source=("http://downloads.sourceforge.net/sourceforge/xca/$pkgname-$pkgver.tar.gz")
14 md5sums=('ff6e23a0aac6a6d9d10b47d3f9856f1a')
18 #cd $startdir/src/$pkgname-$pkgver
19 cd $srcdir/$pkgname-$pkgver
21 CFLAGS="-I$QTDIR/include/Qt" prefix=/usr ./configure
22 sed -i -r 's/(^LDFLAGS.*$)/LDFLAGS=/' Local.mak
23 sed -i -r 's/(^mandir.*$)/mandir=share\/man/' doc/Makefile
25 make install destdir=$pkgdir || return 1
26 #make install destdir=$startdir/pkg || return 1
27 #install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
28 install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
29 #install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/$pkgname/COPYRIGHT
30 install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT