summaryrefslogtreecommitdiff
path: root/community/leptonica/PKGBUILD
blob: 87c697e4d7df2d39f3284fc530aa49afbf3aeeff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 81033 2012-12-10 15:15:51Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Christoph Drexler <chrdr at gmx dot at>

pkgname=leptonica
pkgver=1.69
pkgrel=5
pkgdesc="Software that is broadly useful for image processing and image analysis applications"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.leptonica.com/"
license=('custom')
options=(!libtool)
depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp=0.2.1')
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
}