28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
# Template file for 'Cutegram'
|
|
pkgname=Cutegram
|
|
version=2.7.1
|
|
revision=1
|
|
_qt_tools_rev=91bf14b790c749bcaaddb09a8124ef6415a93906
|
|
create_wrksrc=yes
|
|
build_wrksrc=$pkgname-${version}-stable
|
|
build_style=qmake
|
|
configure_args="QMAKE_CFLAGS_ISYSTEM="
|
|
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 qt5-plugin-sqlite"
|
|
short_desc="Qt5 Telegram desktop client"
|
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
|
license="GPL-3"
|
|
homepage="http://aseman.co/cutegram"
|
|
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"
|
|
}
|