Files
haikuports/app-shells/command_not_found/command_not_found-0.0.1.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

39 lines
895 B
Plaintext

SUMMARY="Command-not-found program"
DESCRIPTION="
Command-not-found hooks into the command_not_found_handle \
to inform end users where to find an application if they don't have it. \
It can also check for typos (a feature of zsh).
"
HOMEPAGE="https://github.com/jrabbit-cnf/"
SRC_URI="git+https://github.com/jrabbit/haiku-cnf.git#87cd5d0c212e377cffa5d3e2a00c143fe751c6fb"
ARCHITECTURES="x86 x86_gcc2"
REVISION="1"
DISABLE_SOURCE_PACKAGE="yes"
LICENSE="GNU GPL v2"
COPYRIGHT="(c) 2011 Jrabbit"
PROVIDES="
command_not_found = $portVersion
cmd:command_not_found = $portVersion
"
REQUIRES="
haiku
cmd:python
"
BUILD_REQUIRES="
cmd:python
"
POST_INSTALL_SCRIPTS="
boot/post-install/install_cnf.py
"
INSTALL()
{
mkdir -p $binDir
install -m 0755 haiku_cnf.py $binDir/command_not_found
mkdir -p $postInstallDir
patch < "$portDir/install-script.patch"
mv install_cnf.py $postInstallDir
}