desktop/leptonica/PKGBUILD

32 lines
1.1 KiB
Bash
Raw Normal View History

pkgname=leptonica
2016-05-05 18:54:24 +08:00
pkgver=1.73
pkgrel=1
pkgdesc="Software that is broadly useful for image processing and image analysis applications"
2015-05-05 04:06:56 +08:00
arch=('x86_64')
url="http://www.leptonica.com/"
license=('custom')
depends=('glibc')
makedepends=('giflib' 'gnuplot' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp')
categories=('graphics')
optdepends=('giflib: for supporting gif files'
'gnuplot: gnuplot support'
'libjpeg: for supporting jpeg files'
'libpng: for supporting png files'
'libtiff: for supporting tiff files'
'zlib: for supporting compressed files')
'libwebp: for supporting webp files'
source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz)
2016-05-05 18:54:24 +08:00
sha512sums=('4808474d5941a91fbf542a22fed26ddc33f9c4baf2699096acf5e894b7e4e84889d165373b7d1df391a68cda8176113cf122f15203a9e38d3059e17140efc575')
build() {
cd ${srcdir}/leptonica-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/leptonica-${pkgver}
make DESTDIR=${pkgdir} install
2015-05-05 04:06:56 +08:00
install -D leptonica-license.txt ${pkgdir}/usr/share/licenses/leptonica/LICENSE
}