void-packages/srcpkgs/libSavitar/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

31 lines
860 B
Bash

# Template file for 'libSavitar'
pkgname=libSavitar
version=4.2.0
revision=1
build_style=cmake
hostmakedepends="python3"
makedepends="python3-sip-devel python3-devel pugixml-devel"
short_desc="C++ implementation of 3mf loading"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-3.0-or-later"
homepage="https://github.com/Ultimaker/libSavitar"
distfiles="https://github.com/Ultimaker/libSavitar/archive/${version}.tar.gz"
checksum=6a77df183fef2ddaeb8de26f69315e1868ee722844f4c1fbb9cd5a054805d1a1
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}
}
}