summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b838da8e713845e9a6eb13c586fe7505c17a4253 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Adrian Lopez <zeioth@hotmail.com>
pkgname=hyprshotgun
pkgver=1.2
pkgrel=7
pkgdesc="Utility to take screenshots to the cloud (or save them locally)"
arch=(any)
url="https://github.com/Zeioth/hyprshotgun.git"
license=('GPL')
depends=('wl-clipboard' 'libnotify' 'imagemagick' 'grimblast')
provides=(hyprshotgun)
conflicts=(hyprshotgun-git)
source=("git+$url")
sha256sums=('SKIP')

package() {
  mkdir -p "$pkgdir"/usr/bin
  install -Dm555 "${srcdir}"/hyprshotgun/hyprshotgun "$pkgdir/usr/bin/hyprshotgun"
  install -Dm644 "${srcdir}"/hyprshotgun/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}