1SUMMARY="A tool to quickly manipulate images"
2DESCRIPTION="The Awesome Resizer is a freeware application that allows quick dynamic \
3resizing of any image and much much more.
4
5It works like this:
6* Drag'n'drop an image.
7* Resize the image's window.
8* Choose a manipulator, like 'Drunk' and click on 'Apply' a few times.
9* To save under the chosen file name and format, drag'n'drop the image, \
10for example on the Desktop."
11HOMEPAGE="https://github.com/HaikuArchives/TheAwesomeResizer"
12COPYRIGHT="1999-2000 Jonathan Villemure"
13LICENSE="MIT"
14REVISION="3"
15srcGitRev="9fc84791562f75e5d2bc3b2bece0057f0b86e685"
16SOURCE_URI="https://github.com/HaikuArchives/TheAwesomeResizer/archive/$srcGitRev.zip"
17CHECKSUM_SHA256="cc6abdb9e2a4db2fed515a9368211a3d4e68a01cf5d2621498ae2fb9b70c6c30"
18SOURCE_DIR="TheAwesomeResizer-$srcGitRev"
19
20ARCHITECTURES="all"
21
22PROVIDES="
23	taresizer = $portVersion
24	app:TAResizer = $portVersion
25	"
26REQUIRES="
27	haiku
28	"
29
30BUILD_REQUIRES="
31	haiku_devel
32	"
33BUILD_PREREQUIRES="
34	makefile_engine
35	cmd:g++
36	cmd:make
37	"
38
39BUILD()
40{
41	cd source
42	make $jobArgs OBJ_DIR=objects
43}
44
45INSTALL()
46{
47	mkdir -p $appsDir
48	cp source/objects/TAResizer $appsDir/TAResizer
49	addAppDeskbarSymlink $appsDir/TAResizer
50}
51