void-packages/srcpkgs/TelegramQML/template

29 lines
833 B
Bash
Raw Normal View History

2015-08-27 23:48:23 +02:00
# Template file for 'TelegramQML'
pkgname=TelegramQML
2016-01-12 14:16:55 +01:00
version=0.9.2
2015-08-27 23:48:23 +02:00
revision=1
2016-01-12 14:16:55 +01:00
wrksrc=${pkgname}-${version}
2015-08-27 23:48:23 +02:00
build_style=qmake
configure_args="BUILD_MODE+=lib"
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-declarative-devel qt5-multimedia-devel libqtelegram-ae-devel"
short_desc="Telegram API tools for QtQml and Qml"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/Aseman-Land/TelegramQML"
2016-01-12 14:16:55 +01:00
distfiles="https://github.com/Aseman-Land/$pkgname/archive/v${version}.tar.gz"
checksum=16d6429fe180531af167dc44bcc799e82b08c9cfa88f1f635155dfcef2558397
2015-08-27 23:48:23 +02:00
pre_configure() {
sed -i 's,$$LIB_PATH,,' telegramqml.pro
}
TelegramQML-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}