From 0444679b027ba39e0b6d46aacf492f4c31dd35da Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Thu, 19 May 2022 16:04:25 +0200 Subject: [PATCH] be_book: unpack directly fix #6929 --- haiku-data/be_book/be_book-2008_10_26.recipe | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/haiku-data/be_book/be_book-2008_10_26.recipe b/haiku-data/be_book/be_book-2008_10_26.recipe index df89a3b3c..469f4b8af 100644 --- a/haiku-data/be_book/be_book-2008_10_26.recipe +++ b/haiku-data/be_book/be_book-2008_10_26.recipe @@ -5,8 +5,8 @@ familiarize themselves with the BeAPI and Haiku programming in general." HOMEPAGE="https://www.haiku-os.org/documents" COPYRIGHT="ACCESS Co., Ltd." LICENSE="Attribution-NonCommercial-NoDerivs 3.0 Unported" -REVISION="3" -SOURCE_URI="http://haiku-files.org/files/data/bebook_20081026.zip" +REVISION="4" +SOURCE_URI="http://haiku-files.org/files/data/bebook_20081026.zip#noarchive" CHECKSUM_SHA256="8bd4836744c2542567b95b3b1cacf60333562e178d5cbcf3aa0a69a02d2f7a28" SOURCE_DIR="bebook" @@ -17,14 +17,13 @@ PROVIDES=" be_book = $portVersion " -BUILD_REQUIRES=" - " BUILD_PREREQUIRES=" - coreutils + cmd:unzip " INSTALL() { mkdir -p $documentationDir - cp -dR $sourceDir $documentationDir/BeBook + unzip $sourceDir/bebook_20081026.zip -d $documentationDir + mv $documentationDir/bebook $documentationDir/BeBook }