be_book: unpack directly

fix #6929
This commit is contained in:
Jerome Duval
2022-05-19 16:04:25 +02:00
parent 9d87ed853f
commit 0444679b02

View File

@@ -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
}