mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
53 lines
1.3 KiB
Bash
53 lines
1.3 KiB
Bash
SUMMARY="A Tracker add-on to upload a file or folder to an online service"
|
|
DESCRIPTION="UploadIt is a Tracker Add-On that uploads a single file or folder \
|
|
to an online service, currently https://temp.sh. A folder gets automatically \
|
|
zipped up before it's uploaded.
|
|
|
|
The URL for the uploaded file is put into the clipboard after the upload has \
|
|
finished, ready to be pasted into an email, a chat window or forum post.
|
|
|
|
Uploaded files are retained for 3 days. The maximum file size is 4 GiB.
|
|
|
|
Tip: Install Clipdinger from HaikuDepot. It includes a 'Clipboard Monitor' \
|
|
that you can embed as Replicant on the Desktop. When you see the upload URL \
|
|
appearing there, you know the file was uploaded successfully and the URL can \
|
|
be pasted."
|
|
HOMEPAGE="https://codeberg.org/humdinger/uploadit"
|
|
COPYRIGHT="2018-2026 Humdinger"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="4597d8cae750c47dae80ddbac13e36c5a687db687b84ec56e474c3317c41903a"
|
|
SOURCE_DIR="uploadit"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
uploadit = $portVersion
|
|
addon:UploadIt = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:curl
|
|
cmd:zip
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
make bindcatalogs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install INSTALL_DIR=$addOnsDir/Tracker
|
|
}
|