New package: mypaint-1.1.0_1

This commit is contained in:
Stefan Mühlinghaus 2014-12-13 15:35:39 +01:00 committed by Juan RP
parent 0da6fc1d4e
commit d0361d9a5c
1 changed files with 21 additions and 0 deletions

21
srcpkgs/mypaint/template Normal file
View File

@ -0,0 +1,21 @@
pkgname="mypaint"
version="1.1.0"
revision=1
short_desc="Graphics application for digital painters"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="GPL-2"
homepage="http://mypaint.intilinux.com"
distfiles="http://download.gna.org/mypaint/mypaint-${version}.tar.bz2"
checksum="780d57e50dd90afd586873bc5120261930ea4c309d4d0958020916932122e838"
depends="pygtk python gtk+ python-numpy python-cairo>=1.4 libpng lcms2 json-c"
makedepends="scons swig pkg-config json-c-devel python-numpy-devel libglib-devel libpng-devel lcms2-devel gtk+-devel python-gobject2-devel"
function post_extract {
sed "s/'json'/'json-c'/g" "${wrksrc}/brushlib/SConscript" >"${wrksrc}/tmp"
mv "${wrksrc}/tmp" "${wrksrc}/brushlib/SConscript"
}
function do_build {
scons
}
function do_install {
scons prefix=${DESTDIR}/usr install
}