void-packages/srcpkgs/qt5pas/template
2021-03-08 10:40:33 +07:00

27 lines
830 B
Bash

# Template file for 'qt5pas'
pkgname=qt5pas
version=2.6~beta
revision=2
wrksrc=cbindings
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-devel qt5-x11extras-devel"
short_desc="Qt5 interface bindings for Pascal"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://svn.freepascal.org/svn/lazarus/trunk/lcl/interfaces/qt5/cbindings"
distfiles="${DEBIAN_SITE}/main/libq/libqtpas/libqtpas_${version}.orig.tar.xz"
checksum=fcc5f695d60d5f72bf501b2fa779e8a1a2636c8d991270b5b3fef3d0e990365c
post_install() {
vinstall qt5.pas 0644 usr/share/pascal/qt5
}
qt5pas-devel_package() {
depends="qt5pas-${version}_${revision} qt5-devel qt5-x11extras-devel"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove "usr/share/pascal/qt5/*.pas"
}
}