mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
dcb286ebcc
fix #52
31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
pkgname=leptonica
|
|
pkgver=1.75.3
|
|
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' 'libwebp')
|
|
makedepends=('giflib' 'gnuplot' 'libjpeg' 'libpng' 'libtiff' 'zlib')
|
|
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')
|
|
source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz)
|
|
sha512sums=('ba2586e76634afb9be6699e4261e55078dd176ee2d0674aedfe49f7f0736ddedadd6961bcce23391d47dc24511cf5ab4b451544f3349c2d060da5f789dc5ab3f')
|
|
|
|
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
|
|
}
|