Last active
June 11, 2017 13:41
-
-
Save arafey/b1dcb21dbd35a0f4ab6a6e26b3a5da90 to your computer and use it in GitHub Desktop.
xca-1.3.2 (openssl patch)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Andrea Zucchelli <zukka77@gmail.com> | |
# Contributor: Abuzer Rafey <abuzer@rafey.xyz> | |
pkgname=xca | |
pkgver=1.3.2 | |
pkgrel=3 | |
pkgdesc="graphical user interface to OpenSSL, RSA/DSA public keys, certificates, signing requests and revokation lists" | |
arch=('i686' 'x86_64') | |
url="http://www.hohnstaedt.de/xca.html" | |
license=('BSD') | |
depends=('qt5-base' 'libltdl' 'shared-mime-info' 'qt5-tools') | |
source=("http://downloads.sourceforge.net/sourceforge/xca/$pkgname-$pkgver.tar.gz" | |
"https://sourceforge.net/p/xca/patches/_discuss/thread/b5d5c45a/5a05/attachment/xca-1.3.2-openssl11.patch") | |
md5sums=('f9528164f46a78c7a2373778bc019c48' | |
'ecc7c5bf3be6a1b684b4f9ae2953c15a') | |
prepare() { | |
cd $srcdir/$pkgname-$pkgver | |
patch -Np1 -i "../xca-1.3.2-openssl11.patch" | |
} | |
build () | |
{ | |
cd $srcdir/$pkgname-$pkgver | |
PKG_CONFIG_PATH=/usr/lib/pkgconfig \ | |
OpenSSL_CFLAGS='-I/usr/include/openssl' OpenSSL_LIBS='-L/usr/lib -lcrypto' \ | |
./configure --prefix=/usr --sysconfdir=/etc --with-openssl | |
sed -i -r 's/(^LDFLAGS.*$)/LDFLAGS='"'"'-lstdc++'"'"'/' Local.mak | |
} | |
package(){ | |
cd "$srcdir/$pkgname-$pkgver" | |
make install destdir=$pkgdir || return 1 | |
install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT | |
} | |
install=xca.install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment