# Maintainer: Frederik Schwan # Contributor: foxbunny # Contributor: Gaetan Bisson pkgname=gimp-plugin-separate+ pkgver=0.5.8 pkgrel=3 pkgdesc='Provides some useful color-management functions for the GIMP' arch=('i686' 'x86_64') url='http://cue.yellowmagic.info/softwares/separate-plus/' license=('GPL2') depends=('gimp' 'lcms') makedepends=('unzip') optdepends=('adobe-icc: ICC profiles from Adobe' 'eci-icc: ICC profiles from ECI') replaces=('gimp-plugin-separate') source=(http://dl.sourceforge.jp/separate-plus/47873/separate+-${pkgver}.zip) sha512sums=('1e2ecf00ff6e604d0a04337ebf25ca9370e2d46d302d3fca7b7df577c37983f870704ad6018c03152bcba3bcddda59a4acceb35b3ba5d0bfd589fa1e99413aa3') build() { cd "${srcdir}/separate+-${pkgver}" sed '/LIBS/s/$/ -lm/' -i Makefile make } package() { cd "${srcdir}/separate+-${pkgver}" make PREFIX="${pkgdir}/usr" install install -d "${pkgdir}/usr/share/gimp/2.0/scripts" install -m644 sample-scripts/* "${pkgdir}/usr/share/gimp/2.0/scripts" }