blob: 7d81dd1756115a024578421ede0dd98790005119 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
pkgname=grabit
pkgver=1.0.2
pkgrel=1
pkgdesc="Screenshot and file uploader for Zipline and other services"
arch=('any')
url="https://git.creations.works/creations/grabit"
license=('BSD')
depends=('bash' 'curl' 'jq' 'xdg-utils' 'python' 'tk')
optdepends=(
'grim: Wayland screenshot support'
'slurp: Wayland region selection'
'wl-clipboard: Wayland clipboard'
'flameshot: X11 screenshot support'
'xclip: X11 clipboard'
'python-pillow: image preview'
'python-screeninfo: screen placement'
)
source=("git+https://git.creations.works/creations/grabit.git#tag=v${pkgver}")
sha256sums=('SKIP')
package() {
install -dm755 "$pkgdir/usr/share/$pkgname"
cp -r "$srcdir/$pkgname"/* "$pkgdir/usr/share/$pkgname"
install -dm755 "$pkgdir/usr/bin"
ln -s "/usr/share/$pkgname/main.sh" "$pkgdir/usr/bin/grabit"
}
|