mypaint: remove development files.

Close #725
This commit is contained in:
Juan RP 2014-12-14 11:50:53 +01:00
parent d980ebd6a7
commit a50c32ed44

View file

@ -1,6 +1,7 @@
# Template file for 'mypaint'
pkgname="mypaint"
version="1.1.0"
revision=1
revision=2
short_desc="Graphics application for digital painters"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
license="GPL-2"
@ -10,12 +11,17 @@ checksum="780d57e50dd90afd586873bc5120261930ea4c309d4d0958020916932122e838"
depends="pygtk python-numpy"
makedepends="json-c-devel python-numpy-devel libglib-devel libpng-devel lcms2-devel gtk+-devel python-gobject2-devel"
hostmakedepends="scons swig pkg-config"
post_extract() {
sed -i "s/'json'/'json-c'/g" brushlib/SConscript
}
do_build() {
scons
scons ${makejobs}
}
do_install() {
scons prefix=${DESTDIR}/usr install
# Remove development files
rm -rf ${DESTDIR}/usr/include
rm -f ${DESTDIR}/usr/lib/*.a
rm -rf ${DESTDIR}/usr/lib/pkgconfig
}