# Maintainer: Dave Shoreman pkgname=nextshot pkgver=1.0.0 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" "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) md5sums=('e0454d101d5a93dbb07674813b436b40') package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }