[arch-commits] Commit in kvirc/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Mar 13 18:20:46 UTC 2017


    Date: Monday, March 13, 2017 @ 18:20:46
  Author: arojas
Revision: 216105

openssl-1.0 rebuild

Modified:
  kvirc/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-13 18:02:40 UTC (rev 216104)
+++ PKGBUILD	2017-03-13 18:20:46 UTC (rev 216105)
@@ -3,7 +3,7 @@
 
 pkgname=kvirc
 pkgver=4.2.0
-pkgrel=10
+pkgrel=11
 pkgdesc="Qt-based IRC client"
 url="http://www.kvirc.net"
 depends=('python2' 'libxss' 'qt4')
@@ -18,10 +18,11 @@
   cd $pkgname-$pkgver
   # Fix build
   patch -p1 -i ../kvirc-fix-build.patch
+  # Fix overlinking
+  sed -e '/lcrypto/d' -i CMakeLists.txt
 }
 
 build() {
-  cd "$srcdir"
   mkdir build
   cd build
   cmake ../${pkgname}-${pkgver} \
@@ -28,7 +29,10 @@
     -DWANT_KDE4=OFF \
     -DWANT_PERL=ON \
     -DWANT_PHONON=OFF \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
+    -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \
+    -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so
   make
 }
 


More information about the arch-commits mailing list