diff --git a/srcpkgs/sk1/template b/srcpkgs/sk1/template new file mode 100644 index 00000000000..57813d0bb85 --- /dev/null +++ b/srcpkgs/sk1/template @@ -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 " +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} +} +