Update quicklaunch with recipe provided by Humdinger

resolves issue #43
This commit is contained in:
Chris Roberts
2013-10-29 14:58:00 -06:00
parent be02ff881b
commit dfeb21147d
2 changed files with 55 additions and 35 deletions

View File

@@ -1,35 +0,0 @@
DESCRIPTION="A tool to quickly start any installed application"
HOMEPAGE="https://sourceforge.net/p/quicklaunch-h"
SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd quicklaunch-0.9.5
rc -o QuickLaunch.rsrc QuickLaunch.rdef
make
}
INSTALL {
cd quicklaunch-0.9.5
cd objects.x86-gcc`setgcc | tail -c -2`-release
mkdir -p $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
cp -af QuickLaunch $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
cd ..
unzip -o ReadMe.zip -d $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
chmod +x Add\ to\ Deskbar.sh
cp -af Add\ to\ Deskbar.sh $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
mkdir -p $DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications
ln -sf `finddir B_APPS_DIRECTORY`/QuickLaunch/QuickLaunch \
$DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications
if [ -z "$DESTDIR" ]
then
cd `finddir B_APPS_DIRECTORY`/QuickLaunch
desklink --remove=QuickLaunch
desklink "cmd=Remove replicant:desklink --remove=QuickLaunch" QuickLaunch
fi
}
LICENSE="MIT"
COPYRIGHT="2013 Humdinger"

View File

@@ -0,0 +1,55 @@
SUMMARY="A tool to quickly start any installed application"
DESCRIPTION="
QuickLaunch is a small launcher tool that helps you to quickly start
any installed application.
Simply start to enter the name of an application and QuickLaunch will
find all programs matching these initial letters and show them in a list.
You choose an app from that list with the CursorUp/Down keys and launch
it by hitting Return. Escape quits QuickLaunch.
"
HOMEPAGE="http://sourceforge.net/projects/quicklaunch-h/"
SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code#c88a50516f3154b86efb4ae58ac8daaa3e45f675"
LICENSE="MIT"
COPYRIGHT="2013 Humdinger"
REVISION="1"
ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="
quicklaunch = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
makefile_engine
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:ld
cmd:make
cmd:mkdepend
cmd:unzip
cmd:xres
"
SOURCE_DIR="$portVersionedName"
BUILD()
{
make OBJ_DIR=objects BUILDHOME=/boot/system/develop
}
INSTALL()
{
quicklaunchDir=$appsDir/QuickLaunch
mkdir -p $quicklaunchDir
cp -af objects/QuickLaunch $quicklaunchDir
cp -af ReadMe.html $quicklaunchDir
cp -r images $quicklaunchDir
chmod +x Add\ to\ Deskbar.sh
cp -af Add\ to\ Deskbar.sh $quicklaunchDir
addAppDeskbarSymlink $quicklaunchDir/QuickLaunch
}