mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
47 lines
1.0 KiB
Bash
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
|
|
}
|