aboutsummaryrefslogtreecommitdiffstats
path: root/community/leptonica/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-04 05:32:19 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-04 05:49:36 +0100
commitc5bdebb8bbf212d7d89cabea56f594db9d85227a (patch)
tree847228c6d70139b2f06273eb3ba7b730e38a81a0 /community/leptonica/APKBUILD
parent18acff4102bbbe6703671684627640bce3ccdd20 (diff)
downloadaports-c5bdebb8bbf212d7d89cabea56f594db9d85227a.tar.gz
aports-c5bdebb8bbf212d7d89cabea56f594db9d85227a.tar.bz2
aports-c5bdebb8bbf212d7d89cabea56f594db9d85227a.tar.xz
community/leptonica: upgrade to 1.79.0
Diffstat (limited to 'community/leptonica/APKBUILD')
-rw-r--r--community/leptonica/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/community/leptonica/APKBUILD b/community/leptonica/APKBUILD
index 0272ea851c..fcf728f049 100644
--- a/community/leptonica/APKBUILD
+++ b/community/leptonica/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=leptonica
-pkgver=1.78.0
+pkgver=1.79.0
pkgrel=0
pkgdesc="Software that is broadly useful for image processing and image analysis applications"
url="http://www.leptonica.com/"
@@ -9,11 +9,9 @@ arch="all"
license="custom"
makedepends="libjpeg-turbo-dev tiff-dev libpng-dev zlib-dev giflib-dev libwebp-dev"
subpackages="$pkgname-dev"
-source="https://github.com/DanBloomberg/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+source="https://github.com/DanBloomberg/leptonica/releases/download/$pkgver/leptonica-$pkgver.tar.gz"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -26,8 +24,8 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/lib/*.a "$pkgdir"/usr/lib/*.la
}
-sha512sums="f059ccc8e7b5ff2c796aeb4ab18bd25e133ec4f38c36b9e2ee203db35a1e68cf45b8baf78ebc4acba4e3607328d1374ea0e8425f35cbe06c6c5728a1ec8c3f50 leptonica-1.78.0.tar.gz"
+sha512sums="4d0830683757004bb47752a17985d80c6758b97c0fd6ec64d23bbf43c9c68b04bee751831574afa4c25f5d5030c0c9f7fc22d9fc8ef932aa990401344f588ba5 leptonica-1.79.0.tar.gz"