void-packages/srcpkgs/qt5pas/template
2019-02-18 15:10:47 -03:00

31 lines
901 B
Bash

# Template file for 'qt5pas'
pkgname=qt5pas
version=2.6~beta
revision=2
wrksrc=cbindings
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-devel qt5-x11extras-devel"
short_desc="Qt5 interface bindings for Pascal"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
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
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-x11extras-devel"
fi
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"
}
}