mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
73 lines
1.8 KiB
Bash
73 lines
1.8 KiB
Bash
SUMMARY="A powerful renaming utility"
|
|
DESCRIPTION="PecoRename is a powerful renaming utility, which allows you to \
|
|
rename many files according to a preset pattern. It also installs a Tracker \
|
|
add-on that can be invoked on the selected files with the shortcut ALT+OPT+R.
|
|
|
|
You can rename your files in many different ways:
|
|
* Number your files in order
|
|
* Search and replace
|
|
* Delete characters
|
|
* Make uppercase/lowercase
|
|
* Add the suitable file extension according to the file type
|
|
* Insert, append or replace text...
|
|
* Add random symbols
|
|
|
|
PecoRename gives you an easy to use interface with a powerful tool behind it.\
|
|
The changes can be previewed in realtime.
|
|
And - of course - all functions support special chars (like ä, â...)."
|
|
HOMEPAGE="https://github.com/HaikuArchives/PecoRename"
|
|
COPYRIGHT="2008 Werner Freytag
|
|
2011 Axel Dörfler
|
|
2014 Diver
|
|
2016 Markus Himmel, Hannahyp
|
|
2017-2023 HaikuArchives team"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="377045c93e9aab1eed571efcd9b268c398ee61c043123cff6eae2fb2d0f449d9"
|
|
SOURCE_DIR="PecoRename-$portVersion"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
pecorename = $portVersion
|
|
add_on:PecoRename = $portVersion
|
|
app:PecoRename = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= r1~alpha4_pm_hrev52220
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cd Main
|
|
make $jobArgs OBJ_DIR=objects
|
|
make OBJ_DIR=objects bindcatalogs
|
|
|
|
cd ../Tracker\ Add-On
|
|
make $jobArgs OBJ_DIR=objects
|
|
make bindcatalogs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
docFolder=$documentationDir/packages/pecorename
|
|
|
|
mkdir -p $appsDir $addOnsDir/Tracker $docFolder
|
|
cp -a Main/PecoRename $appsDir
|
|
cp -a Tracker\ Add-On/PecoRename $addOnsDir/Tracker
|
|
cp -a Docs/ReadMe.html $docFolder
|
|
cp -r Docs/images $docFolder
|
|
|
|
addAppDeskbarSymlink $appsDir/PecoRename
|
|
}
|