void-packages/srcpkgs/sk1/template

23 lines
832 B
Bash

# Template file for 'sk1'
pkgname=sk1
version=2.0rc5
revision=1
build_style=python2-module
pycompile_dirs="/usr/lib/sk1-wx-${version}"
hostmakedepends="pkg-config python"
makedepends="libmagick-devel pango-devel python-cairo-devel wxPython-devel"
depends="desktop-file-utils hicolor-icon-theme python-cairo python-Pillow
python-reportlab wxPython"
short_desc="Open source multiplatform vector graphics editor"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://sk1project.net"
distfiles="https://downloads.sk1project.net/sk1/sk1-${version}.tar.gz"
checksum=1f70dd490a62aad97118454bd18f13c3459dcbd910823835404d6b639f7ef637
python_version=2
do_install() {
# must supply either prefix/exec-prefix/home or install-base/install-platbase -- not both
python2 setup.py install --root=${DESTDIR}
}