From 75a5db019781fb981b7b7d11cfb64b3652107a75 Mon Sep 17 00:00:00 2001
From: Leo <thinkabit.ukim@gmail.com>
Date: Tue, 1 Dec 2020 01:30:43 -0300
Subject: [PATCH] community/libewf: upgrade to 20201129

---
 community/libewf/APKBUILD | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/community/libewf/APKBUILD b/community/libewf/APKBUILD
index 44011df4bc3e..38c381e827be 100644
--- a/community/libewf/APKBUILD
+++ b/community/libewf/APKBUILD
@@ -1,35 +1,30 @@
 # Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
 # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
 pkgname=libewf
-pkgver=20171104
-pkgrel=2
+pkgver=20201129
+pkgrel=0
 pkgdesc="Library to support the Expert Witness Compression Format"
 url="http://libewf.sourceforge.net"
 arch="all"
 license="LGPL-2.0-or-later"
-depends=""
-depends_dev="zlib-dev bzip2-dev openssl-dev util-linux-dev"
+depends_dev="zlib-dev bzip2-dev openssl-dev"
 makedepends="$depends_dev"
-install=""
 subpackages="$pkgname-dev $pkgname-doc"
-source="https://github.com/libyal/libewf/releases/download/$pkgver/$pkgname-experimental-$pkgver.tar.gz"
+source="https://github.com/libyal/libewf/releases/download/$pkgver/libewf-experimental-$pkgver.tar.gz"
 
-builddir="$srcdir"/$pkgname-$pkgver
 build() {
-	cd "$builddir"
 	# fix build on gcc6
 	export CFLAGS="$CFLAGS -std=gnu89"
 	./configure \
 		--prefix=/usr \
 		--mandir=/usr/share/man \
 		--disable-nls \
-		|| return 1
-	make || return 1
+		--disable-static
+	make
 }
 
 package() {
-	cd "$builddir"
-	make DESTDIR="$pkgdir" install || return 1
+	make DESTDIR="$pkgdir" install
 }
 
-sha512sums="610174971b8e09385f1f51c02e7be36e7a18d21f8b22ddeb7ba7d5c20e7df97591a70de3523b2d63bed8deb5a2a170a14e825f6a80aeb0937553ecae5925ee0b  libewf-experimental-20171104.tar.gz"
+sha512sums="7959662267bef7cfb15a731d253929ce8653268f6171eab6ab5a1940f30497a417c4bd7f56a1202f8f7b78ee98f87cb10eb1e83a9d93b074f52ea74b3ca21bc8  libewf-experimental-20201129.tar.gz"
-- 
GitLab