# $Id: PKGBUILD 64417 2010-01-20 07:24:28Z eric $ # Maintainer: tobias # Contributor: Dominik Ryba pkgname=enblend-enfuse pkgver=4.0 pkgrel=1 pkgdesc="intelligent blend tool for overlapping picture" arch=("i686" "x86_64" 'mips64el') license=('GPL') url="http://enblend.sourceforge.net" depends=('openexr' 'glew>=1.5' 'libxmi' 'freeglut' 'libgl' 'lcms' 'texinfo' 'libpng') makedepends=('boost' 'pkgconfig') replaces=('enblend') conflicts=('enblend') provides=('enblend') install=${pkgname}.install source=(http://downloads.sourceforge.net/sourceforge/enblend/${pkgname}-${pkgver}.tar.gz libpng-1.4.patch) md5sums=('2e7c950061e0085fd75d94576130250f' 'a39df8dd32ccfa020dea2ea388642575') sha1sums=('34c3a5ce11c6ef0ef520d8a15a3cb6a94a567033' 'eae6cf48ea082865130302d0b4d1ca0b884a563b') build() { cd "${srcdir}/${pkgname}-${pkgver}-753b534c819d" patch -p1 < ../libpng-1.4.patch || return 1 ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 doc/enblend.info "${pkgdir}/usr/share/info/enblend.info" || return 1 install -D -m644 doc/enfuse.info "${pkgdir}/usr/share/info/enfuse.info" || return 1 }