mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
From the description: UploadIt is a Tracker Add-On that uploads a single file to the online service *The Null Pointer* at https://0x0.st . 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.
54 lines
1.4 KiB
Bash
54 lines
1.4 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 'The Null Pointer' at https://0x0.st. 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.
|
|
|
|
According to 'The Null Pointer' website:
|
|
* Maximum file size: 512.0 MiB
|
|
* Not allowed: application/x-dosexec, child pornography
|
|
* File URLs are valid for at least 30 days and up to a year, depending on \
|
|
file 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 Humdinger"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="4be89b1498bccbc1859e369729aa6a9b489d37205e9c46d18586fafa44f85561"
|
|
SOURCE_DIR="UploadIt-$portVersion"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
uploadit = $portVersion
|
|
addon:UploadIt = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:curl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
make bindcatalogs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install INSTALL_DIR=$addOnsDir/Tracker
|
|
}
|