mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
* 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.
39 lines
895 B
Plaintext
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
|
|
}
|