Added recipe for Pad (#3295)

This commit is contained in:
Callum
2018-10-30 18:27:33 +00:00
committed by alaviss
parent c8462f52d7
commit 76c930de3e
2 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
Pad 1.0 AAPR
(c) 1997 Jesse Hall
Pad is freeware. I certainly don't mind donations to my college fund, but I'll feel guilty if you give me more than $5 for this :-). You can distribute it freely, as long as 1) this file accompanies it, 2) neither file is modified in any way, and 3) you don't charge more than the cost of distribution. If you want to include this with a commercial product, please get my permission first.
As always, I am not legally responsible for any damage caused directly or indirectly by this application. Use it at your own risk.

View File

@@ -0,0 +1,45 @@
SUMMARY="A freeware notepad program, similar to Apple's Notepad app"
DESCRIPTION="Pad is a freeware notepad program. Anyone who has used Apple's \
Notepad app (included with the system software) should find it familiar. \
It supports multiple pages, the standard text editing commands \
(Cut, Copy, Paste), as well as Drag 'n' Drop editing."
HOMEPAGE="https://github.com/HaikuArchives/Pad"
COPYRIGHT="1997 Jesse Hall"
LICENSE="Pad"
REVISION="1"
srcGitRev="cfefca443dbfb46ec85ebd37ecf34258b2ba30ae"
SOURCE_URI="https://github.com/HaikuArchives/Pad/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="43ca4a5250a8e830c60cd72da8c82c9d9ecad17df1de4b54428687b38ce9ff3c"
SOURCE_FILENAME="Pad-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="Pad-$srcGitRev"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
pad = $portVersion
app:pad = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir
cp Pad $appsDir
addAppDeskbarSymlink $appsDir/Pad
}