diff options
Diffstat (limited to 'extra/cinepaint')
-rw-r--r-- | extra/cinepaint/PKGBUILD | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/extra/cinepaint/PKGBUILD b/extra/cinepaint/PKGBUILD index 1c53bc6c5..419c6a1cd 100644 --- a/extra/cinepaint/PKGBUILD +++ b/extra/cinepaint/PKGBUILD @@ -1,28 +1,26 @@ -# $Id: PKGBUILD 143685 2011-11-28 11:25:31Z eric $ +# $Id: PKGBUILD 143847 2011-11-30 06:23:25Z eric $ # Maintainer: tobias [tobias.archlinux.org] # Contributor: tobias [tobias.justdreams.de] pkgname=cinepaint -pkgver=0.25.0 +pkgver=1.0 pkgrel=1 pkgdesc="Sophisticated graphics manipulation programm supporting > 8bit pictures" arch=('i686' 'x86_64') license=('LGPL' 'GPL' 'MIT') url="http://www.cinepaint.org" -depends=('gtk2' 'openexr' 'lcms' 'libxpm' 'fltk' 'ftgl' 'desktop-file-utils') +depends=('gtk2' 'openexr' 'lcms' 'libxpm' 'fltk' 'ftgl' 'libxxf86vm') makedepends=('python2' 'gutenprint') optdepends=('python2: for python plug-ins' 'gutenprint: for print plug-ins') options=('!libtool') install=cinepaint.install -source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz - LICENSE cinepaint-0.22-gcc44.patch) -md5sums=('6ac099e3bc543e2460dfbffa7411d477' - '169085743f667c250ea2e4022efecf5f' - '368e820c27f525e3569d43388f1c119a') +source=(http://sourceforge.net/projects/cinepaint/files/CinePaint/${pkgname}-${pkgver}.tgz + LICENSE) +md5sums=('7dfdb005d246578392ac9bd500534804' + '169085743f667c250ea2e4022efecf5f') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i "${srcdir}/cinepaint-0.22-gcc44.patch" + cd "${srcdir}/${pkgname}" find plug-ins/pygimp -type f -exec sed -i 's#env python#env python2#' {} + sed -i 's|$(LDFLAGS) -o|$(LDFLAGS) $(GTK_LIBS) -o|' lib/Makefile.in @@ -36,9 +34,9 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}" make DESTDIR="${pkgdir}" install - sed -i -e "s|-I$srcdir/cinepaint-$pkgver||" -e "s|-I$srcdir/cinepaint-$pkgver/lib||" -e "/libcinepaint.la/d" \ - -e "s|$srcdir/cinepaint-$pkgver/lib/.libs/\$dlname||" "${pkgdir}/usr/bin/cinepainttool" + sed -i -e "s|-I$srcdir/cinepaint||" -e "s|-I$srcdir/cinepaint/lib||" -e "/libcinepaint.la/d" \ + -e "s|$srcdir/cinepaint/lib/.libs/\$dlname||" "${pkgdir}/usr/bin/cinepainttool" install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |