28 lines
940 B
Bash
28 lines
940 B
Bash
# Template file for 'sk1'
|
|
pkgname=sk1
|
|
version=2.0rc3.20180316
|
|
revision=1
|
|
wrksrc="sk1-${version%.*}"
|
|
build_style=python2-module
|
|
hostmakedepends="pkg-config python"
|
|
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/.2/_2}.tar.gz"
|
|
checksum=f96115bad6c52bf441bdfacbe3ed823a5be0061e85603dc95e4df377cfa652d4
|
|
|
|
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}
|
|
}
|
|
|