# Maintainer: Dave Shoreman pkgname=nextshot pkgver=1.4.6 pkgrel=1 pkgdesc="A simple screenshot tool that uploads to Nextcloud and works with Sway and X11" arch=('x86_64') url="https://github.com/dshoreman/nextshot" license=('GPL') depends=('bash' 'curl' 'jq') optdepends=( "yad: tray icon and gui support" "grim: take screenshots on Sway" "slurp: area selection on Sway" "wl-clipboard: clipboard support on Sway" "bc: colour conversion on X11" "imagemagick: take screenshots on X11" "slop: window/area selection on X11" "xclip: clipboard support on X11" ) install=nextshot.install source=(https://github.com/dshoreman/nextshot/archive/v${pkgver}.tar.gz) sha256sums=('fc35dc380fe33d0d2cd4f626d62b09b175bed34344fd74521905917d11287815') build() { cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }