29 lines
847 B
Bash
29 lines
847 B
Bash
# Template file for 'TelegramQML'
|
|
pkgname=TelegramQML
|
|
version=0.8.0
|
|
revision=1
|
|
wrksrc=${pkgname}-${version}-stable
|
|
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"
|
|
distfiles="https://github.com/Aseman-Land/$pkgname/archive/v${version}-stable.tar.gz"
|
|
checksum=38d4cd7cc26f6ea6852c94bb0c9b4648fbeef7db281053a99f2a2bd3327082d0
|
|
|
|
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
|
|
}
|
|
}
|