1SUMMARY="A simple program for running a quick terminal command"
2DESCRIPTION="Run Program, written by DarkWyrm, is a simple program that runs \
3a command. It can autocomplete commands as you type, and is case insensitive.
4If bound to a key combination via Shortcuts, commands can be run without even \
5touching the mouse."
6HOMEPAGE="https://github.com/HaikuArchives/RunProgram/"
7COPYRIGHT="2008 DarkWyrm"
8LICENSE="MIT"
9REVISION="3"
10srcGitRev="ddd2f6bc886964011961a1880af11eb31fb3186e"
11SOURCE_URI="https://github.com/HaikuArchives/RunProgram/archive/$srcGitRev.zip"
12CHECKSUM_SHA256="357aa427d1b344a76bdf9e8b25191e7514b0c8b993a7dc72331fb2bcd8ae95df"
13SOURCE_DIR="RunProgram-$srcGitRev"
14
15ARCHITECTURES="all"
16
17PROVIDES="
18	runprogram = $portVersion
19	app:RunProgram = $portVersion
20	"
21REQUIRES="
22	haiku
23	"
24
25BUILD_REQUIRES="
26	haiku_devel
27	makefile_engine
28	"
29BUILD_PREREQUIRES="
30	cmd:gcc
31	cmd:make
32	cmd:xres
33	"
34
35BUILD()
36{
37	cd src
38	make $jobArgs OBJ_DIR=objects
39}
40
41INSTALL()
42{
43	mkdir -p $appsDir
44	cp src/objects/RunProgram $appsDir
45	addAppDeskbarSymlink $appsDir/RunProgram
46}
47