diff options
author | root <root@rshg054.dnsready.net> | 2011-10-26 23:15:38 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-10-26 23:15:38 +0000 |
commit | 84fe155e2233db86fcc13134d8802ba1dab0ae83 (patch) | |
tree | ef0f4e11745d4bf9e45ee5fa553dd4b13d6c3407 /community/leptonica/PKGBUILD | |
parent | d03e905f54857600b3c36af9b221c34ccb11074f (diff) |
Wed Oct 26 23:15:38 UTC 2011
Diffstat (limited to 'community/leptonica/PKGBUILD')
-rw-r--r-- | community/leptonica/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/leptonica/PKGBUILD b/community/leptonica/PKGBUILD new file mode 100644 index 000000000..b19320316 --- /dev/null +++ b/community/leptonica/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 57293 2011-10-25 10:37:42Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Christoph Drexler <chrdr at gmx dot at> + +pkgname=leptonica +pkgver=1.68 +pkgrel=1 +pkgdesc="Software that is broadly useful for image processing and image analysis applications" +arch=('i686' 'x86_64') +url="http://www.leptonica.com/" +license=('custom') +depends=('glibc') +optdepends=('giflib: for supporting gif files' + 'gnuplot: gnuplot support' + 'libjpeg: for supporting jpeg files' + 'libpng: for supporting png files' + 'libtiff: for supporting tiff files' + 'webp: for supporting webp files' + 'zlib: for supporting compressed files') +source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz) +md5sums=('5cd7092f9ff2ca7e3f3e73bfcd556403') + +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 +} |