0
0
Fork 0
haikuports/haiku-apps/armyknife/armyknife-5.1.1.recipe

57 lines
1.4 KiB
Bash

SUMMARY="The all-in-one metadata editor for audio and MPEG files"
DESCRIPTION="ArmyKnife is an application that lets you edit the metadata of \
audio and MPEG files, both Haiku file attributes and in-file tags. You can \
copy data to and from tags and attributes, and rename files according to \
attributes or fill attributes according to file name.
Now also with support for cover art!"
HOMEPAGE="https://github.com/HaikuArchives/ArmyKnife"
COPYRIGHT="2000-2001 Jason Burgess
2008 Jonas Sundström, Ryan Leavengood
2009-2021 HaikuArchives team"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/HaikuArchives/ArmyKnife/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="1ecf71011f7ea82642d531ea5c2d8be59dc6da9b36d00e5c1ea85555abf0e824"
SOURCE_DIR="ArmyKnife-$portVersion"
ARCHITECTURES="all"
PROVIDES="
armyknife = $portVersion
app:ArmyKnife = $portVersion
"
REQUIRES="
haiku
lib:libmusicbrainz5
lib:libtag
"
BUILD_REQUIRES="
haiku_devel
devel:libmusicbrainz5
devel:libtag
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
mkdir -p bin
make $jobArgs TARGET_DIR=bin
make bindcatalogs TARGET_DIR=bin
}
INSTALL()
{
mkdir -p $appsDir/ArmyKnife/documentation
cp -r documentation/armyknife $appsDir/ArmyKnife/documentation/
cp documentation/changelog.txt $appsDir/ArmyKnife/documentation
cp bin/ArmyKnife $appsDir/ArmyKnife
addAppDeskbarSymlink $appsDir/ArmyKnife/ArmyKnife
}