mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
41 lines
822 B
Bash
41 lines
822 B
Bash
SUMMARY="A tool to truncate files of any kind"
|
|
DESCRIPTION="FileCropper is a GUI app which truncates files of any kind. It \
|
|
cuts off everything from a given offset (bytes) to the end of the file."
|
|
HOMEPAGE="https://github.com/HaikuArchives/FileCropper"
|
|
COPYRIGHT="2002 Maurice Michalski"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="git://github.com/HaikuArchives/FileCropper.git#0dde0f752a"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
filecropper = $portVersion
|
|
app:FileCropper = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:g++
|
|
cmd:xres
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
g++ app.cpp mainWindow.cpp -lbe -o FileCropper
|
|
xres -o FileCropper FileCropper.rsrc
|
|
mimeset -f FileCropper
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp FileCropper $appsDir
|
|
addAppDeskbarSymlink $appsDir/FileCropper
|
|
}
|