void-packages/srcpkgs/pencil2d/template

24 lines
951 B
Bash

# Template file for 'pencil2d'
pkgname=pencil2d
version=0.6.6
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-xmlpatterns-devel qt5-svg-devel qt5-multimedia-devel"
depends="hicolor-icon-theme ffmpeg qt5-svg qt5-xmlpatterns"
short_desc="Easy, intuitive tool to make 2D hand-drawn animations"
maintainer="ghost <gh0st@vivaldi.net>"
license="GPL-2.0-only"
homepage="https://pencil2d.org/"
changelog="https://raw.githubusercontent.com/pencil2d/pencil/master/ChangeLog.md"
distfiles="https://github.com/${pkgname}/pencil/archive/v${version}.tar.gz
https://github.com/catchorg/Catch2/releases/download/v2.13.10/catch.hpp"
checksum="9dd1f7dd35a86dea33ec4415ac92e7df146309a1f52139c908cbd8b4767e53ff
3725c0f0a75f376a5005dde31ead0feb8f7da7507644c201b814443de8355170"
skip_extraction="catch.hpp"
post_extract() {
local _srcdir="${XBPS_SRCDISTDIR}/${pkgname}-${version}"
cp ${_srcdir}/catch.hpp tests/src/catch.hpp
}