void-packages/srcpkgs/Cutegram/template

28 lines
1.0 KiB
Bash
Raw Normal View History

2015-08-28 00:09:37 +02:00
# Template file for 'Cutegram'
pkgname=Cutegram
2016-01-12 14:17:01 +01:00
version=2.7.1
2015-08-28 00:09:37 +02:00
revision=1
2016-01-12 14:17:01 +01:00
_qt_tools_rev=91bf14b790c749bcaaddb09a8124ef6415a93906
create_wrksrc=yes
build_wrksrc=$pkgname-${version}-stable
2015-08-28 00:09:37 +02:00
build_style=qmake
2016-10-03 14:42:00 +02:00
configure_args="QMAKE_CFLAGS_ISYSTEM="
2015-08-28 00:09:37 +02:00
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-multimedia-devel qt5-webkit-devel qt5-declarative-devel
libqtelegram-ae-devel TelegramQML-devel"
2016-01-12 14:17:01 +01:00
depends="qt5-graphicaleffects qt5-quickcontrols qt5-plugin-sqlite"
2015-08-28 00:09:37 +02:00
short_desc="Qt5 Telegram desktop client"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://aseman.co/cutegram"
2016-01-12 14:17:01 +01:00
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"
}