diff options
Diffstat (limited to 'community/leptonica')
-rw-r--r-- | community/leptonica/APKBUILD | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/community/leptonica/APKBUILD b/community/leptonica/APKBUILD index f7043bb715..40c4fb659c 100644 --- a/community/leptonica/APKBUILD +++ b/community/leptonica/APKBUILD @@ -1,19 +1,15 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=leptonica -pkgver=1.74.1 -pkgrel=1 +pkgver=1.74.4 +pkgrel=0 pkgdesc="Software that is broadly useful for image processing and image analysis applications" url="http://www.leptonica.com/" arch="all" license="custom" -depends="" -depends_dev="libjpeg-turbo-dev tiff-dev libpng-dev zlib-dev giflib-dev libwebp-dev" -makedepends="$depends_dev" -install="" +makedepends="libjpeg-turbo-dev tiff-dev libpng-dev zlib-dev giflib-dev libwebp-dev" subpackages="$pkgname-dev" -source="http://www.leptonica.com/source/leptonica-$pkgver.tar.gz" - +source="https://github.com/DanBloomberg/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { @@ -25,16 +21,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="ad30f5034a2eb84f91062ccd1d8a1734 leptonica-1.74.1.tar.gz" -sha256sums="746a517a47a3bd2a90bc8d581ca6464c10f30e91a60209735efe45b3778bec62 leptonica-1.74.1.tar.gz" -sha512sums="c6f08458d288997283aa56258932a79f4ecef10bf3fb95c91749b8b6fbe2a1573774371d969a43c2b73eb6fd67c1d6a3d07db465c29e5055bd42fc0ac22a5b47 leptonica-1.74.1.tar.gz" +sha512sums="e74732c10218430463ca01f15e19d329dceb938e315586ed100c634c4d50809824f1d9bf7eeaf91654caf42ed78a5ae5de7c08e7a1d8884c580c536121627891 leptonica-1.74.4.tar.gz" |