0
0
Fork 0
haikuports/haiku-apps/simplebackup/simplebackup-2.0.1.recipe

61 lines
1.5 KiB
Bash

SUMMARY="Graphical interface to run the zip command"
DESCRIPTION="This application makes it easy to create and update backups of \
large amounts of data. For example, you can create a backup of your home \
directory and run this application regularly to make sure the backup is up to \
date. SimpleBackup also accepts command line options, so it is easily \
scriptable and can be used with scheduling applications."
HOMEPAGE="https://perelandra0x309.github.io/simplebackup"
COPYRIGHT="2010-2016 Brian Hill"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://github.com/Perelandra0x309/simplebackup/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="463df905df35a74e81127d1c28d20a1f2c94ff1b89f6939abf081ecc70e60c62"
ARCHITECTURES="x86_gcc2 !x86"
USER_SETTINGS_FILES="settings/SimpleBackup directory"
PROVIDES="
simplebackup = $portVersion
app:SimpleBackup = $portVersion
cmd:SBQueue = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
cd src
make
}
INSTALL()
{
mkdir -p $appsDir/SimpleBackup
mkdir -p $binDir
# copy documentation
cp -af ReadMe License $appsDir/SimpleBackup
# copy executables
cp -af SimpleBackup $appsDir/SimpleBackup
cp -af SBQueue $binDir
# copy example files
cp -af home_backup_settings backup_example.sh $appsDir/SimpleBackup
chmod +x $appsDir/SimpleBackup/backup_example.sh
# deskbar link
addAppDeskbarSymlink $appsDir/SimpleBackup/SimpleBackup
}