python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / sk1 / template
blob1eb075126939a12639b88af9f1433803b25cbeaa
1 # Template file for 'sk1'
2 pkgname=sk1
3 reverts="2.0rc3.20180316_1 2.0rc3.20180329_1"
4 version=2.0rc3
5 revision=3
6 build_style=python2-module
7 pycompile_dirs="/usr/lib/sk1-wx-${version}"
8 hostmakedepends="pkg-config python"
9 makedepends="libmagick-devel pango-devel python-cairo-devel wxPython-devel"
10 depends="desktop-file-utils hicolor-icon-theme python-cairo python-Pillow
11  python-reportlab wxPython"
12 short_desc="Open source multiplatform vector graphics editor"
13 maintainer="cr6git <quark6@protonmail.com>"
14 license="GPL-3"
15 homepage="https://sk1project.net"
16 distfiles="https://downloads.sk1project.net/sk1/${version}/sk1-${version}.tar.gz"
17 checksum=d3b94131794d42d7c80c678e11a28a8e6a50401af4a35e42ed534d02b14abdff
19 pre_configure() {
20         # python2: can't open file 'setup.py': [Errno 2] No such file or directory
21         ln -s setup-sk1.py setup.py
24 do_install() {
25         # must supply either prefix/exec-prefix/home or install-base/install-platbase -- not both
26         python2 setup.py install --root=${DESTDIR}