1 # Contributor: Pierre ReniƩ <archlinuxien@gmail.com>
6 pkgdesc="A graphical frontend for SANE based on Qt"
8 depends=('sane' 'qt' 'libtiff')
10 url="http://sourceforge.net/projects/quiteinsane/"
12 # The project is closed, see http://sourceforge.net/forum/forum.php?forum_id=370515
13 # The files are deleted, it's why I'm using the debian mirror to retrieve them.
14 source=(ftp://ftp.debian.org/debian/pool/main/q/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz gcc4.patch)
17 cd ${startdir}/src/${pkgname}-${pkgver} || return 1
18 patch -Np0 -i ${startdir}/src/gcc4.patch || return 1
19 ./configure --enable-mt --prefix=/usr
21 make prefix=$startdir/pkg/usr install || return 1
22 mkdir $startdir/pkg/usr/share/pixmaps/ || return 1
23 cp $startdir/src/${pkgname}-${pkgver}/${pkgname}/quiteinsane_logo.xpm $startdir/pkg/usr/share/pixmaps/
25 md5sums=('f07006e5de95a6c326166696638ca3b5' '88baaa3ea0b9f49be4c5497db3546a82')