summaryrefslogtreecommitdiff
path: root/community/unpaper/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/unpaper/PKGBUILD')
-rw-r--r--community/unpaper/PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/community/unpaper/PKGBUILD b/community/unpaper/PKGBUILD
index dded7d5d5..80c070dc7 100644
--- a/community/unpaper/PKGBUILD
+++ b/community/unpaper/PKGBUILD
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD 65349 2012-02-21 02:16:20Z spupykin $
+# $Id: PKGBUILD 74323 2012-07-24 16:20:43Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Hauser <andy-aur@splashground.de>
pkgname=unpaper
-pkgver=0.3
-pkgrel=3
+pkgver=0.4.2
+pkgrel=1
pkgdesc="post-processing tool for scanned sheets of paper"
arch=('i686' 'x86_64' 'mips64el')
-url="http://$pkgname.berlios.de/"
+#url="http://$pkgname.berlios.de/"
+url="https://github.com/Flameeyes/unpaper"
license="GPL"
-depends=()
+depends=('libxslt')
makedepends=('gcc')
-source=("http://download.berlios.de/unpaper/$pkgname-${pkgver}.tar.gz")
-md5sums=('be41eaf8556e7df39ab53939c99c4f7b')
+source=("$pkgname-${pkgver}.tar.gz::https://github.com/Flameeyes/unpaper/tarball/unpaper-$pkgver")
+md5sums=('7dcee730cdbeffbbd840cbe6f2bb9693')
build() {
- cd $srcdir/$pkgname-$pkgver/src
- gcc $CFLAGS -lm -funroll-all-loops -fomit-frame-pointer -ftree-vectorize -o unpaper unpaper.c
- install -D -m0755 unpaper $pkgdir/usr/bin/unpaper
- install -d -m0755 $pkgdir/usr/share/doc/unpaper
- cp -a ../doc/* $pkgdir/usr/share/doc/unpaper
+ cd $srcdir/Flameeyes-unpaper-*
+ aclocal
+ automake --add-missing
+ autoconf
+ [ -f Makefile ] || ./configure --prefix=/usr
+ make
+ make install DESTDIR=$pkgdir
}