Files
haikuports/haiku-apps/filer/filer-1.3.0.recipe
Humdinger 04ff43669f Filer: bump revision
* needed to link 'shared'
* new/updated translations
2022-12-05 11:09:40 +01:00

75 lines
1.8 KiB
Bash

SUMMARY="An automated file management and sorting system"
DESCRIPTION="The Filer is a powerful, flexible automatic file organizer. It \
is an implementation of the 'Sorting Chute' idea conceived on the Glass \
Elevator mailing list for Haiku.
Filer takes the files it's opened with or that are dropped onto it's icon or \
replicatable dropzone and moves, renames, copies or does all sorts of other \
things with them according to rules created by the user.
Filer is accompanied by AutoFiler. Instead of working on a set of files \
provided by the user, it can be started together with Haiku to monitor certain \
folders and deal with new files appearing there according to the user-defined \
rules."
HOMEPAGE="https://github.com/HaikuArchives/Filer"
COPYRIGHT="2008 DarkWyrm
2016 Humdinger, Pete Goodeve
2017 Owen Pan
2021 Jaidyn Levesque"
LICENSE="MIT"
REVISION="2"
srcGitRev="93213a29a708e534f0fd93e4c4d39681b5540385"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="299434cbfee9d6e0e0e01d3cb5b4ce6a630088c86ab8b9f90ef4a60ba931a260"
SOURCE_DIR="Filer-$srcGitRev"
ARCHITECTURES="all"
USER_SETTINGS_FILES="
settings/Filer directory
"
PROVIDES="
filer = $portVersion
app:AutoFiler = $portVersion
app:Filer = $portVersion
cmd:Filer = $portVersion
"
REQUIRES="
haiku
cmd:zip
lib:libsqlite3
"
BUILD_REQUIRES="
haiku_devel
devel:libsqlite3
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
cd sources
make $jobArgs OBJ_DIR=objects
make bindcatalogs OBJ_DIR=objects
make -f Makefile_AutoFiler $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir/Filer $binDir
cp -af documentation $appsDir/Filer
cd sources
cp -af objects/Filer $appsDir/Filer
ln -s $appsDir/Filer/Filer $binDir
cp -af objects/AutoFiler $appsDir/Filer
addAppDeskbarSymlink $appsDir/Filer/Filer
}