mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
pkgname=leptonica
|
|
pkgver=1.73
|
|
pkgrel=1
|
|
pkgdesc="Software that is broadly useful for image processing and image analysis applications"
|
|
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)
|
|
sha512sums=('4808474d5941a91fbf542a22fed26ddc33f9c4baf2699096acf5e894b7e4e84889d165373b7d1df391a68cda8176113cf122f15203a9e38d3059e17140efc575')
|
|
|
|
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/LICENSE
|
|
}
|