0
0
Fork 0
haikuports/haiku-apps/runprogram/runprogram-1.0rc1.recipe

47 lines
1.0 KiB
Bash

SUMMARY="A simple program for running a quick terminal command"
DESCRIPTION="Run Program, written by DarkWyrm, is a simple program that runs \
a command. It can autocomplete commands as you type, and is case insensitive.
If bound to a key combination via Shortcuts, commands can be run without even \
touching the mouse."
HOMEPAGE="https://github.com/HaikuArchives/RunProgram/"
COPYRIGHT="2008 DarkWyrm"
LICENSE="MIT"
REVISION="3"
srcGitRev="ddd2f6bc886964011961a1880af11eb31fb3186e"
SOURCE_URI="https://github.com/HaikuArchives/RunProgram/archive/$srcGitRev.zip"
CHECKSUM_SHA256="357aa427d1b344a76bdf9e8b25191e7514b0c8b993a7dc72331fb2bcd8ae95df"
SOURCE_DIR="RunProgram-$srcGitRev"
ARCHITECTURES="all"
PROVIDES="
runprogram = $portVersion
app:RunProgram = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
makefile_engine
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:make
cmd:xres
"
BUILD()
{
cd src
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp src/objects/RunProgram $appsDir
addAppDeskbarSymlink $appsDir/RunProgram
}