diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2011-12-10 10:34:35 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-01-16 14:50:04 +0000 |
commit | 1367bc1c354e1a0a009ced0483ad9971574df80d (patch) | |
tree | 9271c65ca288e88b2996dbe3dfae2b64b41a7723 /testing/unpaper | |
parent | 89380c29bd634764ed6c56b4fe079862eba9b59f (diff) | |
download | aports-1367bc1c354e1a0a009ced0483ad9971574df80d.tar.bz2 aports-1367bc1c354e1a0a009ced0483ad9971574df80d.tar.xz |
Initial APKBUILD for unpaper
Package description:
unpaper is a post-processing tool for scanned sheets of paper, especially for
book pages that have been scanned from previously created photocopies.
The main purpose is to make scanned book pages better readable on screen
after conversion to PDF. Additionally, unpaper might be useful to enhance
the quality of scanned pages before performing optical character recognition
(OCR).
Website: http://unpaper.berlios.de/
Diffstat (limited to 'testing/unpaper')
-rw-r--r-- | testing/unpaper/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/unpaper/APKBUILD b/testing/unpaper/APKBUILD new file mode 100644 index 000000000..860bb3425 --- /dev/null +++ b/testing/unpaper/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=unpaper +pkgver=0.3 +pkgrel=0 +pkgdesc="Post-processing scanned and photocopied book pages" +url="http://unpaper.berlios.de/" +arch="all" +license="GPL+" +depends="" +depends_dev="" +makedepends="" +install="" +subpackages="" +source="http://download.berlios.de/$pkgname/$pkgname-bin-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + gcc $RPM_OPT_FLAGS -o src/unpaper src/unpaper.c -lm || return 1 +} + +package() { + cd "$_builddir" + install -m755 -D "$_builddir"/src/$pkgname \ + "$pkgdir"/usr/bin/$pkgname || return 1 +} + +md5sums="0748137e67fa5796474716a096a82723 unpaper-bin-0.3.tar.gz" |