59 lines
1.3 KiB
Bash
59 lines
1.3 KiB
Bash
SUMMARY="Yab over the Shell Interface"
|
|
DESCRIPTION="Yoshi is a tool for creating native HAIKU dialog from the shell"
|
|
HOMEPAGE="https://github.com/bbjimmy/Yoshi"
|
|
COPYRIGHT=" 2016 - 2020 Jim Saxton, Fat Elk Software"
|
|
LICENSE="yoshi"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/bbjimmy/Yoshi/archive/yoshi_1.1.tar.gz"
|
|
CHECKSUM_SHA256="0652db14a9415558c7dbbc5063ecfd9d1bdb7fd8457bc41cca8a3c6a47982be7"
|
|
SOURCE_DIR="Yoshi-yoshi_1.1"
|
|
ADDITIONAL_FILES="yoshi_postinstall.sh"
|
|
|
|
ARCHITECTURES="all"
|
|
DISABLE_SOURCE_PACKAGE="YES"
|
|
|
|
POST_INSTALL_SCRIPTS="$relativePostInstallDir/yoshi_postinstall.sh"
|
|
|
|
PROVIDES="
|
|
yoshi = $portVersion
|
|
app:yoshi = $portVersion
|
|
cmd:yoshi=$portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
yab>=1.7.8
|
|
cmd:yab
|
|
lib:libz
|
|
lib:libyab_1.7.8
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:unzip
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
unzip -o bin/$targetArchitecture/yoshi.zip
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
DIR_YAB_DESKBAR="${dataDir}/deskbar/menu/Applications/yab"
|
|
mkdir -p ${DIR_YAB_DESKBAR}
|
|
mkdir -p $appsDir/yoshi
|
|
mkdir -p $dataDir/yoshi
|
|
mkdir -p $binDir
|
|
cp yoshi $appsDir/yoshi/
|
|
cp yoshi $binDir
|
|
cp *.png $dataDir/yoshi/
|
|
cp *.gif $dataDir/yoshi/
|
|
cp License $dataDir/yoshi/
|
|
cp -r Example $dataDir/yoshi/
|
|
addAppDeskbarSymlink ${appsDir}/yoshi/yoshi "yab/yoshi"
|
|
mkdir -p $postInstallDir
|
|
install -t $postInstallDir -m 755 $portDir/additional-files/yoshi_postinstall.sh
|
|
}
|