lunacy 14.1

Free graphic design tool for UX/UI

Не проверено
 1name=lunacy
 2version=14.1
 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>"
27homepage="https://icons8.com/lunacy"
28license=("custom")
29appstream_app_id="com.icons8.Lunacy"
30nonfree=1
31nonfree_url="https://lunacy.docs.icons8.com/lunacy%20license/"
32
33architectures=(
34	"amd64"
35	"arm64"
36)
37
38sources_amd64=(
39	"https://lcdn.icons8.com/setup/${name^}_$version.deb"
40	"local:///lunacy-mimetype.xml"
41)
42
43sources_arm64=(
44	"https://lcdn.icons8.com/setup/${name}_${version}_arm64.deb"
45	"local:///lunacy-mimetype.xml"
46)
47
48checksums_amd64=(
49	sha256:ae23a5bdddd9c5d0b0e697b9bf44748ea54ca4e14e8957eac66821f18aa73ddd
50	sha256:a977a0b9a89bc048bea4c6a747e83b1d1c7ce05cd0aac3d2d40a78dc005c0a8a
51)
52
53checksums_arm64=(
54	sha256:7793bf1bcffd2a1e574732cbf130fc9f38d4008bdf8a1d28e029a90bd98db87d
55	sha256:a977a0b9a89bc048bea4c6a747e83b1d1c7ce05cd0aac3d2d40a78dc005c0a8a
56)
57
58build_deps=(
59	binutils
60)
61
62auto_reqprov_method=dirty
63auto_req=1
64auto_prov=0
65
66disable_network=1
67
68package() {
69	tar -xf data.tar.zst -C "$pkgdir/"
70
71	install -d "$pkgdir/usr/bin"
72	ln -s /opt/icons8/$name/${name^} "$pkgdir"/usr/bin/$name
73
74	install -m644 lunacy-mimetype.xml "$pkgdir/usr/share/mime/packages/$name.xml"
75}
76
77files() {
78	files-find \
79		"/usr/share/icons/hicolor/scalable/mimetypes/zip-sketch.svg" \
80		"/usr/share/mime/packages/$name.xml" \
81		"/opt/icons8/$name/**/*"
82
83	files-find-binary "$name"
84	files-find-desktop "$name.desktop"
85}