void-packages/srcpkgs/mypaint/template
2018-03-19 08:11:20 -03:00

26 lines
901 B
Bash

# Template file for 'mypaint'
pkgname=mypaint
version=1.2.1
revision=3
hostmakedepends="scons swig pkg-config"
makedepends="libgomp-devel json-c-devel python-numpy libglib-devel libpng-devel
lcms2-devel gtk+3-devel python-gobject-devel"
depends="pygtk python-numpy python-gobject"
pycompile_dirs="/usr/share/mypaint"
short_desc="Graphics application for digital painters"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="GPL-2"
homepage="http://mypaint.org"
distfiles="https://github.com/mypaint/mypaint/releases/download/v${version}/mypaint-${version}.tar.xz"
checksum=ed2349382f6a0c583d7defae06427e97ac7d14acb77b9e2c0fc7171ddd96d3c7
do_build() {
scons ${makejobs} enable_openmp=1
}
do_install() {
scons prefix=${DESTDIR}/usr enable_openmp=1 install
# Remove development files
rm -rf ${DESTDIR}/usr/include
rm -f ${DESTDIR}/usr/lib/*.a
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}