# Maintainer: Dmitry Matveev pkgname=foxshot pkgver=0.9.14 pkgrel=1 pkgdesc='Screenshot annotator and region screen recorder for KDE Plasma (Wayland and X11)' arch=('any') url='https://downloads.lis-carter.site/fox-shot/' license=('MIT') depends=('python' 'python-pyqt6' 'python-dbus' 'python-gobject' 'gstreamer' 'gst-plugins-base' 'gst-plugins-good' 'gst-plugin-pipewire' 'xdg-desktop-portal') optdepends=('xdg-desktop-portal-kde: screenshots and recording on Plasma Wayland' 'layer-shell-qt: keep the recording frame above all windows on Wayland' 'gst-plugins-ugly: H.264 video (x264)' 'gst-plugins-bad: H.264 stream parser' 'gst-libav: AAC audio in MP4' 'qt6-svg: SVG icons' 'qt6-translations: translated standard dialogs' 'wl-clipboard: keep copied images after exit on Wayland' 'xclip: keep copied images after exit on X11' 'ffmpeg: GIF export' 'spectacle: fallback screenshot backend') source=("${url}foxshot-${pkgver}.tar.gz") sha256sums=('e55ea930ce2eaba75b1e803c2d865bf17b380384d434b55f4a4613ed0ecc339f') package() { cd "foxshot-${pkgver}" install -d "${pkgdir}/usr/lib/foxshot" cp -r foxshot "${pkgdir}/usr/lib/foxshot/" install -Dm755 packaging/foxshot "${pkgdir}/usr/bin/foxshot" install -Dm644 data/foxshot.desktop "${pkgdir}/usr/share/applications/foxshot.desktop" install -Dm644 data/foxshot.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/foxshot.svg" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/foxshot/LICENSE" install -Dm644 README.md "${pkgdir}/usr/share/doc/foxshot/README.md" }