updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / xca / PKGBUILD
blob65621752ea30a38636bbfa2d045f36585b518418
1 # Contributor: Andrea Zucchelli <zukka77@gmail.com>
3 pkgname=xca
4 pkgver=0.9.0
5 pkgrel=1
6 pkgdesc="graphical user interface to OpenSSL, RSA/DSA public keys, certificates, signing requests and revokation lists"
7 arch=('i686' 'x86_64')
8 url="http://www.hohnstaedt.de/xca.html"
9 license=('BSD')
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')
16 build ()
18 #cd $startdir/src/$pkgname-$pkgver
19 cd $srcdir/$pkgname-$pkgver
20 export QTDIR='/usr'
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
24 make || return 1
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