mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
53 lines
1.3 KiB
Bash
53 lines
1.3 KiB
Bash
SUMMARY="A Tracker add-on to upload a file to an online service"
|
|
DESCRIPTION="UploadIt is a Tracker Add-On that uploads a single file to the \
|
|
online service Oshi at https://oshi.at. 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.
|
|
|
|
The expiration time for the uploaded file is hard-coded to 2 weeks.
|
|
Oshi currently allows files up to 1000 MiB in size.
|
|
|
|
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://github.com/humdingerb/UploadIt"
|
|
COPYRIGHT="2018-2020 Humdinger"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="55ae16fb7de330ec2fdf85da7451e6ba3f192ada2e140ced034191398844d67c"
|
|
SOURCE_DIR="UploadIt-$portVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
uploadit = $portVersion
|
|
addon:UploadIt = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:curl
|
|
cmd:gawk
|
|
cmd:grep
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
make bindcatalogs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install INSTALL_DIR=$addOnsDir/Tracker
|
|
}
|