blob: 52b0a52ed5ef8fa056d962e7d74ed6a809ba1fe1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $Id: PKGBUILD 44854 2011-04-12 08:56:17Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Hauser <andy-aur@splashground.de>
pkgname=unpaper
pkgver=0.3
pkgrel=2
pkgdesc="post-processing tool for scanned sheets of paper"
arch=('i686' 'x86_64' 'mips64el')
url="http://$pkgname.berlios.de/"
license="GPL"
depends=()
makedepends=('gcc')
source=("http://download.berlios.de/unpaper/$pkgname-${pkgver}.tar.gz")
md5sums=('be41eaf8556e7df39ab53939c99c4f7b')
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
}
|