diff --git a/srcpkgs/Cutegram/template b/srcpkgs/Cutegram/template index b0b406580b4..c1b859d477d 100644 --- a/srcpkgs/Cutegram/template +++ b/srcpkgs/Cutegram/template @@ -1,16 +1,26 @@ # Template file for 'Cutegram' pkgname=Cutegram -version=2.7.0 +version=2.7.1 revision=1 -wrksrc=$pkgname-${version}-stable +_qt_tools_rev=91bf14b790c749bcaaddb09a8124ef6415a93906 +create_wrksrc=yes +build_wrksrc=$pkgname-${version}-stable build_style=qmake hostmakedepends="qt5-qmake" makedepends="qt5-devel qt5-multimedia-devel qt5-webkit-devel qt5-declarative-devel libqtelegram-ae-devel TelegramQML-devel" -depends="qt5-graphicaleffects qt5-quickcontrols" +depends="qt5-graphicaleffects qt5-quickcontrols qt5-plugin-sqlite" short_desc="Qt5 Telegram desktop client" maintainer="Duncaen " license="GPL-3" homepage="http://aseman.co/cutegram" -distfiles="https://github.com/Aseman-Land/$pkgname/archive/v${version}-stable.tar.gz" -checksum=5ff195269f2492c625cca4b8eca6134c938e2b5a759019074e486335046c02d9 +distfiles=" + https://github.com/Aseman-Land/$pkgname/archive/v${version}-stable.tar.gz + https://github.com/Aseman-Land/aseman-qt-tools/archive/${_qt_tools_rev}.tar.gz" +checksum="f1cfc6bd3a1d33c2348f23ea43d923419b33576059791a071f2780db11059cf4 + 825169f519d44276413b363c0721258b6ec89c5d278060bbb858c06b80381591" + +post_extract() { + rm -rf "${build_wrksrc}/Cutegram/asemantools" + ln -sf "${wrksrc}/aseman-qt-tools-${_qt_tools_rev}" "${build_wrksrc}/Cutegram/asemantools" +}