blob: 88ed1af1178571113729ad2c4d4e93bd389b6d25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Maintainer: Luisa Martins <lomartinsdev@gmail.com>
pkgname=vanshot
pkgver=0.1.0
pkgrel=1
pkgdesc="Screenshot tool for Wayland"
arch=('x86_64')
license=('BSD')
depends=('grim' 'slurp' 'swappy')
optdepends=('wl-clipboard: copy to clipboard support'
'otf-font-awesome: to draw the paint icons properly')
package() {
mkdir -p ${pkgdir}/usr/bin
echo "#!/bin/sh" > ${pkgdir}/usr/bin/vanshot
echo "grim -g \"\$(slurp)\" - | swappy -f -" >> ${pkgdir}/usr/bin/vanshot
chmod +x ${pkgdir}/usr/bin/vanshot
}
|