From 14635ca5380a480450a66c3fcc29992d29a2bd8e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 15 Mar 2012 00:01:19 +0000 Subject: Thu Mar 15 00:01:19 UTC 2012 --- community/dvdisaster/PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'community/dvdisaster') diff --git a/community/dvdisaster/PKGBUILD b/community/dvdisaster/PKGBUILD index d9b1130c9..66ad45549 100644 --- a/community/dvdisaster/PKGBUILD +++ b/community/dvdisaster/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 42285 2011-03-16 04:44:26Z ebelanger $ +# $Id: PKGBUILD 67594 2012-03-13 13:14:16Z lcarlier $ # Contributor: Biru Ionut # Contributor: Luke McCarthy # Maintainer: Daniel J Griffiths pkgname=dvdisaster -pkgver=0.72.2 +pkgver=0.72.3 pkgrel=1 pkgdesc="Provides a margin of safety against data loss on CD and DVD media caused by aging or scratches" arch=('i686' 'x86_64') @@ -13,11 +13,17 @@ license=('GPL') depends=('gtk2') options=('!makeflags') source=(http://dvdisaster.net/downloads/${pkgname}-${pkgver}.tar.bz2 dvdisaster.desktop) -md5sums=('312bceef3bf9c0754cf633ed3b12eb71' '3a0d6657c47b20a43b93c0e5d58d755a') -sha1sums=('f560990e2047ecf0be50c425262046828399fbc3' 'b1e6f372508157923bbb83da7b9af2a51137c589') +md5sums=('4eb09c1aa3cdbc1dafdb075148fb471d' + '3a0d6657c47b20a43b93c0e5d58d755a') +sha1sums=('6ed08f8e52f4b90b39134b0caf9b5f0df221b0da' + 'b1e6f372508157923bbb83da7b9af2a51137c589') build() { cd "${srcdir}/${pkgname}-${pkgver}" + + # fix png tools building with libpng-1.5.x + sed -i '24i#include ' tools/pngio.h + ./configure --prefix=/usr \ --mandir=/usr/share/man --docdir=/usr/share/doc \ --localedir=/usr/share/locale \ @@ -27,6 +33,7 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" + make BUILDROOT="${pkgdir}" install rm -f "${pkgdir}/usr/bin/dvdisaster-uninstall.sh" install -D -m 644 ${srcdir}/dvdisaster.desktop \ -- cgit v1.2.3-54-g00ecf