Update Clipdinger to v0.2.

Amended small changes from PR review.
And removed the quotes around the "keep-old".
This commit is contained in:
Humdinger
2015-07-08 19:35:37 +02:00
parent b5161ffd8d
commit 03ae63aad9

View File

@@ -0,0 +1,69 @@
SUMMARY="A tool to manage a history of the system clipboard"
DESCRIPTION="Clipdinger solves the problem that you often have to paste some \
text you've just recently copied to the clipboard, but which has been \
replaced by something you've copied more recently... It also saves the \
history so it'll appear just as you left it on the last shutdown.
Clipdinger provides a history of your recent clippings and should be started \
automatically on every boot-up by creating a link to it at ~/config/settings/\
boot/launch/.
You access the history by pressing SHIFT + ALT + V, which opens the \
Clipdinger window where you can select an entry with the cursor keys and \
paste it by hitting RETURN. ESCAPE minimizes the window without pasting."
HOMEPAGE="http://humdingerb.github.io/clipdinger/"
SOURCE_URI="git://github.com/humdingerb/clipdinger.git#a57bce02c91462a30239d32373d4421e70bc5686"
LICENSE="MIT"
COPYRIGHT="2010-2015 Humdinger"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
clipdinger = $portVersion
app:Clipdinger = $portVersion
add_on:ClipdingerInputDevice = $portVersion
add_on:ClipdingerInputFilter = $portVersion
"
REQUIRES="haiku"
BUILD_REQUIRES="haiku_devel"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
USER_SETTINGS_FILES="
settings/Clipdinger directory keep-old
"
BUILD()
{
make $jobArgs OBJ_DIR=objects
make bindcatalogs OBJ_DIR=objects
cd input_device
make $jobArgs OBJ_DIR=objects
cd ../input_filter
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
clipdingerDir=$appsDir/Clipdinger
mkdir -p $clipdingerDir
cp -af objects/Clipdinger $clipdingerDir
cp -af ReadMe.html $clipdingerDir
cp -r images $clipdingerDir
mkdir -p $addOnsDir/input_server/devices
mkdir -p $addOnsDir/input_server/filters
cp -af input_device/objects/ClipdingerInputDevice \
$addOnsDir/input_server/devices
cp -af input_filter/objects/ClipdingerInputFilter \
$addOnsDir/input_server/filters
addAppDeskbarSymlink $clipdingerDir/Clipdinger
}