SUMMARY="The all-in-one metadata editor for audio files"
DESCRIPTION="
ArmyKnife is an application that lets you edit the metadata of audio files.
"
HOMEPAGE="https://github.com/HaikuArchives/ArmyKnife"
SRC_URI="git://github.com/HaikuArchives/ArmyKnife.git#67ce56a906"
COPYRIGHT="2000-2001 Jason Burgess"
LICENSE="MIT"
REVISION="1"
ARCHITECTURES="x86_gcc2 !x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 !x86"

PROVIDES="
	armyknife = $portVersion
	app:ArmyKnife = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix >= $haikuVersion
	lib:libtag$secondaryArchSuffix
	lib:libsanta$secondaryArchSuffix
	"
BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel >= $haikuVersion
	taglib${secondaryArchSuffix}_devel
	libsanta${secondaryArchSuffix}_devel
	"
BUILD_PREREQUIRES="
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	cmd:make
	cmd:unzip
	"

BUILD()
{
	make $jobArgs
}

INSTALL()
{
	make zipfile
	
	mkdir -p $appsDir
	unzip release/ArmyKnife-*.zip -d $appsDir

	addAppDeskbarSymlink $appsDir/ArmyKnife/ArmyKnife
}
