summaryrefslogtreecommitdiff
path: root/community/leptonica
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/leptonica
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/leptonica')
-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
+}