quazip-qt5: switch back to cmake for proper packaging.

Long story short: build_style=qmake only produces

libquazip

which conflicts with our quazip package, for libquazip5 use the cmake
build_style.
This commit is contained in:
maxice8 2018-08-01 22:47:01 -03:00
parent fb254ad33e
commit 82b9edeba4

View file

@ -1,10 +1,9 @@
# Template file for 'quazip-qt5' # Template file for 'quazip-qt5'
pkgname=quazip-qt5 pkgname=quazip-qt5
version=0.7.6 version=0.7.6
revision=1 revision=2
build_style=qmake build_style=cmake
wrksrc="${pkgname%-*}-${version}" wrksrc="${pkgname%-*}-${version}"
build_wrksrc="quazip"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="qt5-devel zlib-devel" makedepends="qt5-devel zlib-devel"
short_desc="Qt5/C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package" short_desc="Qt5/C++ wrapper for the Gilles Vollant's ZIP/UNZIP C package"
@ -14,7 +13,7 @@ homepage="https://github.com/stachenov/quazip"
distfiles="https://github.com/stachenov/quazip/archive/${version}.tar.gz" distfiles="https://github.com/stachenov/quazip/archive/${version}.tar.gz"
checksum=4118a830a375a81211956611cc34b1b5b4ddc108c126287b91b40c2493046b70 checksum=4118a830a375a81211956611cc34b1b5b4ddc108c126287b91b40c2493046b70
if [ -n "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel" hostmakedepends+=" qt5-host-tools qt5-devel"
fi fi
@ -23,6 +22,8 @@ quazip-qt5-devel_package() {
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/*.so vmove usr/share/cmake
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
} }
} }