diff --git a/haiku-apps/havoc/havoc-0.2.0.recipe b/haiku-apps/havoc/havoc-0.2.0.recipe new file mode 100644 index 000000000..4bb549044 --- /dev/null +++ b/haiku-apps/havoc/havoc-0.2.0.recipe @@ -0,0 +1,49 @@ +SUMMARY="A command line tool to control audio volume" +DESCRIPTION="Haiku Advanced Volume Control(havoc) is a small command line tool to control the \ +system volume. It is intended to be used with the standard 'Shortcuts' application so that \ +keyboard shortcuts can be set to toggle the mute and adjust the volume incrementally. System \ +notifications with the current volume can also be displayed." +HOMEPAGE="https://github.com/augiedoggie/havoc" +COPYRIGHT="2021-2022 Chris Roberts" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/augiedoggie/havoc/archive/refs/tags/$portVersion.tar.gz" +CHECKSUM_SHA256="f21a8a5edc74e91ad5a0323e45ce7ee679db67eaa7ba257723db324f2487a103" + +ARCHITECTURES="all" +SECONDARY_ARCHITECTURES="!x86" + +PROVIDES=" + havoc = $portVersion + cmd:havoc + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:g++ + cmd:make + " + +BUILD() +{ + cmake \ + -B build \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=$prefix \ + . + + make -C build $jobArgs +} + +INSTALL() +{ + make -C build install + mkdir -p $docDir + cp -f ReadMe.md $docDir +}