void-packages/srcpkgs/libqtelegram-ae/template

28 lines
823 B
Bash

# Template file for 'libqtelegram-ae'
pkgname=libqtelegram-ae
version=5.0
revision=1
wrksrc=${pkgname/-ae/-aseman-edition}-${version}
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-multimedia-devel"
short_desc="A libqtelegram fork by Aseman Team"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="https://github.com/Aseman-Land/libqtelegram-aseman-edition"
distfiles="https://github.com/Aseman-Land/libqtelegram-aseman-edition/archive/v${version}.tar.gz"
checksum=372c4294cbfcfb614f53baf92badf1939d14076eb068fa38b4d693dff6c18515
pre_configure() {
sed -i 's,$$LIB_PATH,,' libqtelegram-ae.pro
}
libqtelegram-ae-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}