# Maintainer: michaelmonetized (https://github.com/michaelmonetized) pkgname=omadesign-bin pkgver=0.6.3 pkgrel=1 pkgdesc='Native Linux studio for design, layout, painting, photography, and motion' arch=('x86_64' 'aarch64') url='https://github.com/michaelmonetized/omadesign' license=('MIT' 'CDDL-1.0') depends=('glibc' 'gcc-libs' 'fontconfig' 'hicolor-icon-theme' 'libglvnd' 'libx11' 'libxcursor' 'libxi' 'libxrandr' 'libxkbcommon' 'libxkbcommon-x11' 'vulkan-icd-loader' 'wayland' 'xdg-desktop-portal') optdepends=('vulkan-driver: GPU rendering with a Vulkan-capable driver' 'xdg-desktop-portal-impl: file picker backend for your desktop' 'ghostscript: EPS and PostScript-based Illustrator import') provides=("omadesign=$pkgver") conflicts=('omadesign') options=('!strip' '!debug') source_x86_64=("$url/releases/download/v$pkgver/omadesign-$pkgver-x86_64-unknown-linux-gnu.tar.gz") source_aarch64=("$url/releases/download/v$pkgver/omadesign-$pkgver-aarch64-unknown-linux-gnu.tar.gz") sha256sums_x86_64=('b8642376a8ab977988830cec853c2870a6a468b5c337f19e4edb576401247960') sha256sums_aarch64=('3cac3ace9c737cc12454e29f90bfb705b6389de259a459e9ec3600494cc2c776') package() { local release_dir="$srcdir/omadesign-$pkgver-$CARCH-unknown-linux-gnu" install -Dm755 "$release_dir/omadesign" "$pkgdir/usr/bin/omadesign" install -Dm644 "$release_dir/omadesign.desktop" "$pkgdir/usr/share/applications/omadesign.desktop" install -Dm644 "$release_dir/omadesign.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/omadesign.svg" install -Dm644 "$release_dir/omadesign-mime.xml" "$pkgdir/usr/share/mime/packages/omadesign.xml" install -Dm644 "$release_dir/README.md" "$pkgdir/usr/share/doc/omadesign/README.md" install -Dm644 "$release_dir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -Dm644 "$release_dir/LICENSE-Phosphor" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-Phosphor" install -d "$pkgdir/usr/share/omadesign" cp -a "$release_dir"/{lib,licenses,docs,skills,plugins} "$pkgdir/usr/share/omadesign/" }