# Maintainer: Vitaliy Berdinskikh pkgname=swayshot pkgver=2.3.0 pkgrel=2 pkgdesc='Sway screenshots: screen, window or region.' arch=('any') url='https://gitlab.com/radio_rogal/swayshot' license=('GPL3') depends=('sway' 'xdg-user-dirs' 'grim' 'slurp' 'jq') optdepends=('wl-clipboard: copy the full path to clipboard' 'xsel: copy the full path to clipboard' 'xclip: copy the full path to clipboard' 'curl: upload a screenshot to x0.at' 'notify-send: show message with path or URL') conflicts=('swaygrab-helper') source=(https://gitlab.com/radio_rogal/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2) sha256sums=('ece411f2fe889dc6baf1288801f5659f277f7b296fc06a269323b22649d94bc6') package() { cd "$srcdir"/$pkgname-$pkgver install -d "$pkgdir"/etc/sway/config.d install -m 644 $pkgname.conf "$pkgdir"/etc/sway/config.d install -d "$pkgdir"/usr/bin install -m 755 $pkgname.sh "$pkgdir"/usr/bin/$pkgname }