void-packages/srcpkgs/sk1/template
cr6git a6f8530fe9 sk1: update to 2.0rc3.
Closes: #10527 [via git-merge-pr]
2018-01-08 10:54:19 +01:00

27 lines
917 B
Bash

# Template file for 'sk1'
pkgname=sk1
version=2.0rc3
revision=1
_build=20171226
build_style=python2-module
hostmakedepends="pkg-config"
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="cr6git <quark6@protonmail.com>"
license="GPL-3"
homepage="https://sk1project.net"
distfiles="https://downloads.sk1project.net/sk1/nightbuilds/sk1-${version}_${_build}.tar.gz"
checksum=946c6cc8150ba41261716b87f7d608fcf858b2be461743e87353a3dc0ca6d0d2
pre_configure() {
# python2: can't open file 'setup.py': [Errno 2] No such file or directory
ln -s setup-sk1.py setup.py
}
do_install() {
# must supply either prefix/exec-prefix/home or install-base/install-platbase -- not both
python2 setup.py install --root=${DESTDIR}
}