Files
haikuports/haiku-apps/lnlauncher/lnlauncher-1.1.2.recipe
2016-09-01 19:09:26 +02:00

63 lines
1.3 KiB
Bash

SUMMARY="A tool to launch applications"
DESCRIPTION="LnLauncher is yet another launcher app. This one docks to the \
screen edge, and has a neat drag'n'drop interface.
When minimized, the app shouldn't get in your way, the only thing you see is \
the tiny handle.
The latest version, 1.1.2, was adapted for Haiku by Daniel Weber - thank you!"
HOMEPAGE="http://eiman.tv/LnLauncher"
COPYRIGHT="2000-2015 Mikael Eiman"
LICENSE="MIT"
REVISION="6"
commit="ccb19f1e8780"
SOURCE_URI="https://bitbucket.org/m_eiman/lnlauncher/get/$commit.zip"
CHECKSUM_SHA256="a4cd316b70e7469c83363bc04fded506960efaaae90364f66780e3ff5133f320"
SOURCE_DIR="m_eiman-lnlauncher-$commit"
PATCHES="lnlauncher-$portVersion.patchset"
ARCHITECTURES="x86_gcc2"
PROVIDES="
lnlauncher = $portVersion
app:LnLauncher
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
make OBJ_DIR=objects bindcatalogs
}
INSTALL()
{
mkdir -p $appsDir $dataDir/user_launch
cp objects/LnLauncher $appsDir
addAppDeskbarSymlink $appsDir/LnLauncher LnLauncher
echo "target desktop {
service x-vnd.LnLauncher {
launch /system/apps/LnLauncher
if setting ~/config/settings/LnLauncher/Settings autostart
no_safemode
legacy
on {
initial_volumes_mounted
}
}
}
" > $dataDir/user_launch/LnLauncher
}