# $Id: PKGBUILD 94062 2013-07-13 14:11:42Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Andreas Hauser pkgname=unpaper pkgver=5.1 pkgrel=1 pkgdesc="post-processing tool for scanned sheets of paper" arch=('i686' 'x86_64' 'mips64el') #url="http://$pkgname.berlios.de/" url="https://github.com/Flameeyes/unpaper" license="GPL" depends=() makedepends=('gcc' 'libxslt') source=("$pkgname-${pkgver}.tar.gz::https://github.com/Flameeyes/unpaper/tarball/unpaper-$pkgver") md5sums=('06fe02a2e460c0ea218b6cd05bf573fe') build() { cd $srcdir/Flameeyes-unpaper-* aclocal automake --add-missing autoconf [ -f Makefile ] || ./configure --prefix=/usr make } package() { cd $srcdir/Flameeyes-unpaper-* make install DESTDIR=$pkgdir }