Date: Monday, March 20, 2017 @ 13:01:32
  Author: jgc
Revision: 217557

upgpkg: libqtelegram-ae 3:6.1-3

Build with OpenSSL 1.0

Modified:
  libqtelegram-ae/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-03-20 12:40:59 UTC (rev 217556)
+++ PKGBUILD    2017-03-20 13:01:32 UTC (rev 217557)
@@ -1,35 +1,37 @@
-# Maintainer: farseerfc <farsee...@gmail.com> 
+# Maintainer: farseerfc <farsee...@gmail.com>
 # Contributor: nylocx <jus...@gmx.de>
 # Contributor: Llumex03 <l.lume...@gmail.com>
-# Original uploader in CCR: FranzMari 
+# Original uploader in CCR: FranzMari
 # Original uploader in AUR: Ḷḷumex03
 # Fixes in AUR by: ogarcia
 
 pkgname=libqtelegram-ae
+_pkgname=libqtelegram-aseman-edition
 epoch=3
-pkgver=10.0.0
-pkgrel=1
+pkgver=6.1
+_pkgver=$pkgver-stable
+pkgrel=3
 pkgdesc="Telegram library written in Qt based on telegram-cli code"
 arch=('x86_64' 'i686')
 license=('GPL3')
-url="https://github.com/Aseman-Land/libqtelegram-aseman-edition";
+url="https://launchpad.net/libqtelegram";
 depends=('qt5-base' 'qt5-multimedia')
-makedepends=('cmake' 'git')
-source=("$pkgname"::"git+https://github.com/Aseman-Land/libqtelegram-aseman-edition.git#commit=b0aeb8b5caebcccdd7777583ffe22ef311ae";)
-sha512sums=('SKIP')
+makedepends=('cmake')
+source=("${_pkgname}-${_pkgver}.tar.gz::https://github.com/Aseman-Land/libqtelegram-aseman-edition/archive/v$_pkgver.tar.gz";)
+sha256sums=('ffc1f85a7b0cdd16149c89722f33c43de9fa3db15271d0ff26734ba35e0a02c0')
 
 prepare() {
-  cd $pkgname
+  cd $_pkgname-$_pkgver
   mkdir -p build
 }
 
 build() {
-  cd $pkgname/build
-  qmake-qt5 -r QMAKE_CFLAGS_ISYSTEM= CONFIG+=typeobjects ..
+  cd $_pkgname-$_pkgver/build
+  qmake-qt5 -r .. PREFIX=/usr INSTALL_LIBS_PREFIX=/usr/lib 
INSTALL_HEADERS_PREFIX=/usr/include 
OPENSSL_INCLUDE_PATH=/usr/include/openssl-1.0 
OPENSSL_LIB_DIR=/usr/lib/openssl-1.0 QMAKE_CFLAGS_ISYSTEM=
   make
 }
 
 package() {
-  cd $pkgname/build
+  cd $_pkgname-$_pkgver/build
   make INSTALL_ROOT="$pkgdir" install
 }

Reply via email to