New package: sk1-2.0rc2

Closes: #9850 [via git-merge-pr]
This commit is contained in:
cr6git 2017-12-08 14:18:24 +01:00 committed by Jürgen Buchmüller
parent d501e343df
commit 15745dd984
1 changed files with 25 additions and 0 deletions

25
srcpkgs/sk1/template Normal file
View File

@ -0,0 +1,25 @@
# 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}
}