0
0
Fork 0
haikuports/haiku-apps/clipup/clipup-2.0.3.recipe

73 lines
1.5 KiB
Bash
Raw Permalink Normal View History

SUMMARY="A tool to manage multiple clipboards"
DESCRIPTION="Ever had something important in your clipboard but you copied \
something else and lost the previous contents? ClipUp allows you to keep \
multiple clips and protect them even between reboots.
2014-01-03 13:54:32 +00:00
ClipUp is invoked by pressing CMD+SHIFT+V or by clicking on the icon in the \
Deskbar.
"
2014-01-03 13:54:32 +00:00
HOMEPAGE="https://github.com/HaikuArchives/ClipUp"
COPYRIGHT="2002 Werner Freytag"
2018-08-03 11:37:50 +00:00
LICENSE="MIT"
2018-08-08 19:53:02 +00:00
REVISION="3"
SOURCE_URI="https://github.com/HaikuArchives/ClipUp/archive/d47f0f6835.tar.gz"
CHECKSUM_SHA256="a79746196b42d0e3547f28c4691c807c0f28057a1a76a225da17beacdc93cf8c"
SOURCE_DIR="ClipUp-d47f0f6835b9f6b7ceb6374e8019bf97f31638c4"
2018-08-10 06:19:20 +00:00
2020-07-05 21:26:56 +00:00
# Builds but is broken.
2020-07-05 21:32:09 +00:00
ARCHITECTURES="!x86_gcc2"
2014-01-03 13:54:32 +00:00
2018-08-03 11:37:50 +00:00
USER_SETTINGS_FILES="
settings/ClipUp_settings
settings/clipup_clips
"
2014-01-03 13:54:32 +00:00
PROVIDES="
clipup = $portVersion
2014-10-28 21:25:03 +00:00
app:ClipUp = $portVersion
2014-01-03 13:54:32 +00:00
"
REQUIRES="
haiku
2014-01-03 13:54:32 +00:00
"
2018-08-03 11:37:50 +00:00
BUILD_REQUIRES="
haiku_devel
"
2014-01-03 13:54:32 +00:00
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
2018-08-09 09:26:07 +00:00
cmd:make
2014-01-03 13:54:32 +00:00
cmd:xres
"
2014-01-03 13:54:32 +00:00
BUILD()
{
cd "Input Device"
make
cd "../Input Filter Ctrl-V"
2014-01-03 13:54:32 +00:00
make
cd "../Main"
make
}
INSTALL()
{
mkdir -p $addOnsDir/input_server/devices
mkdir -p $addOnsDir/input_server/filters
cd "Input Device"
make install INSTALL_DIR=temp
mv temp/* $addOnsDir/input_server/devices
cd ..
cd "Input Filter Ctrl-V"
2014-01-03 13:54:32 +00:00
make install INSTALL_DIR=temp
mv temp/* $addOnsDir/input_server/filters
cd ..
2014-01-03 13:54:32 +00:00
cd "Main"
make install INSTALL_DIR=$appsDir
mkdir -p "$dataDir/deskbar/menu/Desktop applets"
symlinkRelative -s "$appsDir/ClipUp" "$dataDir/deskbar/menu/Desktop applets"
2014-01-03 13:54:32 +00:00
}