* Updated SRC_URI to latest commit.

* Corrections description.
* Corrected requirements.
* Fixed building.
* Installing the dd-on as well.
This commit is contained in:
Humdinger
2014-10-30 18:10:36 +01:00
parent 501611109d
commit 20ddc64933

View File

@@ -1,9 +1,10 @@
SUMMARY="A powerfull renaming utility"
SUMMARY="A powerful renaming utility"
DESCRIPTION="
PecoRename is a powerfull renaming utility, which allows you to rename many \
files according to a preset pattern.
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:
You can rename your files in many different ways:
* Number your files in order
* Search and replace
* Delete characters
@@ -11,7 +12,7 @@ files according to a preset pattern.
* Add the suitable file extension according to the file type
* Insert, append or replace text...
PecoRename gives you an easy to use interface with a powerfull tool behind it.\
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 ä, â...).
@@ -19,10 +20,10 @@ Whenever you have to rename some or many files the same way, this is YOUR \
program!
"
HOMEPAGE="http://www.maybe.de/software/pecorename"
SRC_URI="git://github.com/HaikuArchives/PecoRename#cdca0ce831ab87b209758bcdd4edc4ea66efd660"
SRC_URI="git://github.com/HaikuArchives/PecoRename#7f87bac07671a982d3b126da504220dbe22bcecd"
COPYRIGHT="Copyright 2008 Werner Freytag"
LICENSE="MIT"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 !x86 !x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
@@ -31,30 +32,33 @@ PROVIDES="
pecorename = $portVersion
app:PecoRename = $portVersion
"
REQUIRES=""
BUILD_REQUIRES="haiku >= $haikuVersion"
BUILD_PREREQUIRES="
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:mkdepend
"
PATCHES="pecorename-$portVersion.patch"
BUILD()
{
cd trunk/Main
cd Main
make $jobArgs OBJ_DIR=objects
cd ../Tracker\ Add-On
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir
cp trunk/Main/PecoRename $appsDir/PecoRename
cp Main/PecoRename $appsDir
mkdir -p $addOnsDir/Tracker
cp Tracker\ Add-On/PecoRename $addOnsDir/Tracker
addAppDeskbarSymlink $appsDir/PecoRename
}