summaryrefslogtreecommitdiff
path: root/community/unpaper/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/unpaper/PKGBUILD')
-rw-r--r--community/unpaper/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/unpaper/PKGBUILD b/community/unpaper/PKGBUILD
new file mode 100644
index 000000000..23a3378ff
--- /dev/null
+++ b/community/unpaper/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 94062 2013-07-13 14:11:42Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Andreas Hauser <andy-aur@splashground.de>
+
+pkgname=unpaper
+pkgver=5.1
+pkgrel=1
+pkgdesc="post-processing tool for scanned sheets of paper"
+arch=('i686' 'x86_64')
+#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
+}