void-packages/srcpkgs/sk1/template
cr6git 15745dd984 New package: sk1-2.0rc2
Closes: #9850 [via git-merge-pr]
2017-12-18 11:20:21 +01:00

25 lines
869 B
Bash

# Template file for 'sk1'
pkgname=sk1
version=2.0rc2
revision=1
build_style=python2-module
hostmakedepends="pkg-config"
makedepends="libmagick-devel pango-devel python-cairo-devel wxPython-devel"
depends="desktop-file-utils 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="http://downloads.sk1project.net/sk1/${version}/sk1-${version}.tar.gz"
checksum=ee1f03e6705e2063d0a1f032e475b24868c68fc26410fb1f2a536d3541b88a67
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}
}