32 lines
863 B
Bash
32 lines
863 B
Bash
# Template file for 'libSavitar'
|
|
pkgname=libSavitar
|
|
version=4.0.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="python3"
|
|
makedepends="python3-sip-devel python3-devel pugixml-devel"
|
|
short_desc="C++ implementation of 3mf loading"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="LGPL-3.0-or-later"
|
|
homepage="https://github.com/Ultimaker/libSavitar"
|
|
distfiles="https://github.com/Ultimaker/libSavitar/archive/${version}.tar.gz"
|
|
checksum=c1d6807f55049b73d19e3395c6fc8598e3ab9079b804a77ad2ef0928d7a03f62
|
|
nocross="can't find sip on cross environment"
|
|
|
|
libSavitar-devel_package() {
|
|
depends="libSavitar-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libSavitar-python3_package() {
|
|
short_desc+=" - Python3 bindings"
|
|
pkg_install() {
|
|
vmove ${py3_sitelib}
|
|
}
|
|
}
|