mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
USBDeskbar: add recipe
This commit is contained in:
46
haiku-apps/usbdeskbar/usbdeskbar-1.0.0.recipe
Normal file
46
haiku-apps/usbdeskbar/usbdeskbar-1.0.0.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
SUMMARY="A little tool that notifies when a USB devices is connected or disconnected"
|
||||
DESCRIPTION="USB Device Viewer is a status replicant that gives information of \
|
||||
connected USB devices and notifies when a USB device is connected or disconnected"
|
||||
HOMEPAGE="https://github.com/HaikuArchives/USBDeskbar"
|
||||
COPYRIGHT="Vincent Cedric"
|
||||
LICENSE="GNU GPL v1"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/USBDeskbar/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="98abdab125140fe427200ec77ca6b443d7b6a3e72782871746942d06338c06e6"
|
||||
SOURCE_FILENAME="USBDeskbar-$portVersion.tar.gz"
|
||||
SOURCE_DIR="USBDeskbar-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
usbdeskbar = $portVersion
|
||||
app:USBDeskbar = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp USBDeskbarView $appsDir/USBDeskbar
|
||||
mimeset -f $appsDir/USBDeskbar
|
||||
|
||||
# Add a symlink to the Desktop applets directory in Deskbar
|
||||
desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"
|
||||
mkdir -p "$desktopAppletsDir"
|
||||
ln -s $appsDir/USBDeskbar "$desktopAppletsDir"
|
||||
}
|
||||
Reference in New Issue
Block a user