lunacy 13.0

Free graphic design tool for UX/UI

Не проверено
 1name=lunacy
 2version=13.0
 3release=1
 4summary="Free graphic design tool for UX/UI"
 5group="Graphics"
 6desc="Lunacy is the ultimate graphic design editor for UX/UI, and Web.
 7It combines the best features of all the designer apps to help you optimize
 8your workflow and minimize distractions. Take advantage of the built-in
 9graphics library, use powerful AI tools, and collaborate on projects with
10your team on several platforms simultaneously!
11
12Let's take a look at what's inside:
13
14* Real-time collaboration with comments, stickers, and audio messages
15* 1 500 000 icons, photos, and illustrations
16* AI routine killers: BG remover, image upscaler, text and avatar generators
17* Figma and Sketch support
18* Cloud storage
19* Private offline mode
20* Low system requirements
21* 26 supported languages
22
23And much more!
24Don't forget to join our growing designer community!
25"
26maintainer="Oleg Shchavelev <oleg@alt-gnome.ru>"
27architectures=("amd64")
28homepage="https://icons8.com/lunacy"
29license=("custom")
30appstream_app_id="com.icons8.Lunacy"
31nonfree=1
32nonfree_url="https://lunacy.docs.icons8.com/lunacy%20license/"
33sfe_249_new_extractor=1
34
35architectures=(
36	"amd64"
37	"arm64"
38)
39
40sources=(
41	"https://lcdn.icons8.com/setup/${name^}_$version.deb"
42	"local:///lunacy-mimetype.xml?~archive=false"
43)
44
45sources_arm64=(
46	"https://lcdn.icons8.com/setup/${name^}.ARM.deb"
47	"local:///lunacy-mimetype.xml?~archive=false"
48
49)
50
51checksums=(
52	sha256:e7c3b197b77bb9f0846fc49db4676a60a2937eeebdbd156cfd11b482d539c909
53	sha256:a977a0b9a89bc048bea4c6a747e83b1d1c7ce05cd0aac3d2d40a78dc005c0a8a
54)
55
56checksums_arm64=(
57	sha256:274ba88698c574941a908e812f63431cc569643c05f3145e3daca676098ab8a4
58	sha256:a977a0b9a89bc048bea4c6a747e83b1d1c7ce05cd0aac3d2d40a78dc005c0a8a
59)
60
61build_deps=(
62	binutils
63)
64
65auto_reqprov_method=dirty
66auto_req=1
67auto_prov=0
68
69disable_network=1
70
71package() {
72	tar -xf data.tar.zst -C "$pkgdir/"
73
74	install -d "$pkgdir/usr/bin"
75	ln -s /opt/icons8/$name/${name^} "$pkgdir"/usr/bin/$name
76
77	install -m644 lunacy-mimetype.xml "$pkgdir/usr/share/mime/packages/$name.xml"
78}
79
80files() {
81	files-find \
82		"/usr/share/icons/hicolor/scalable/mimetypes/zip-sketch.svg" \
83		"/usr/share/mime/packages/$name.xml" \
84		"/opt/icons8/$name/**/*"
85
86	files-find-binary "$name"
87	files-find-desktop "$name.desktop"
88}