diff options
author | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-27 10:13:52 +0200 |
commit | 14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch) | |
tree | 644ebb60f7155dd5c139d233857684fbcd8546e6 /portsToCome/mypaint | |
download | crux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz |
initial commit
Diffstat (limited to 'portsToCome/mypaint')
-rw-r--r-- | portsToCome/mypaint/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/portsToCome/mypaint/Pkgfile b/portsToCome/mypaint/Pkgfile new file mode 100644 index 0000000..693790d --- /dev/null +++ b/portsToCome/mypaint/Pkgfile @@ -0,0 +1,30 @@ +# Description: A fast and easy open-source graphics application for digital painters. +# URL: http://mypaint.intilinux.com/ +# Maintainer: Erich Eckner, crux at eckner dot net +# Packager: Danny Rawlins, crux at romster dot me +# Depends on: scons numpy protobuf pygtk swig lcms2 json-c + +name=mypaint +version=1.2.0 +release=1 +source=( + https://github.com/$name/$name/releases/download/v$version/$name-$version.tar.xz + https://github.com/$name/$name/commit/c03602f3d5456d59fccfc8ad7d41c8c6f1a6d593.patch) + +build() { + cd $name-$version + + patch -p1 -i $SRC/c03602f3d5456d59fccfc8ad7d41c8c6f1a6d593.patch + +# sed -i "s|'json|'json-c|" brushlib/SConscript + + scons \ + ${SCONSFLAGS} \ + NLS=0 \ + destdir="${PKG}" \ + prefix=/usr + + scons prefix=$PKG/usr install + python -mcompileall $PKG + rm -r $PKG/usr/share/locale +} |