summaryrefslogtreecommitdiff
path: root/community/leptonica/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/leptonica/PKGBUILD')
-rw-r--r--community/leptonica/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/leptonica/PKGBUILD b/community/leptonica/PKGBUILD
new file mode 100644
index 000000000..366c8dc40
--- /dev/null
+++ b/community/leptonica/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 90052 2013-05-06 19:38:03Z foutrelis $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Christoph Drexler <chrdr at gmx dot at>
+
+pkgname=leptonica
+pkgver=1.69
+pkgrel=7
+pkgdesc="Software that is broadly useful for image processing and image analysis applications"
+arch=('i686' 'x86_64')
+url="http://www.leptonica.com/"
+license=('custom')
+options=(!libtool)
+depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp')
+source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz)
+md5sums=('d4085c302cbcab7f9af9d3d6f004ab22')
+
+build() {
+ cd ${srcdir}/leptonica-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/leptonica-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -D leptonica-license.txt ${pkgdir}/usr/share/licenses/leptonica/leptonica-license.txt
+}