aboutsummaryrefslogtreecommitdiffstats
path: root/community/leptonica/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 07:35:54 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-06-16 08:32:52 +0000
commit2cc7f894c5c64da16b72985ebdc88427f04375aa (patch)
treea58cd5d57fabae07ad464f9ea53c9a88862c856b /community/leptonica/APKBUILD
parent63c83ae3712a430f54a80de95ddc8463ae625638 (diff)
downloadaports-2cc7f894c5c64da16b72985ebdc88427f04375aa.tar.gz
aports-2cc7f894c5c64da16b72985ebdc88427f04375aa.tar.bz2
aports-2cc7f894c5c64da16b72985ebdc88427f04375aa.tar.xz
community/leptonica: upgrade to 1.74.4
Diffstat (limited to 'community/leptonica/APKBUILD')
-rw-r--r--community/leptonica/APKBUILD23
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"