summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f11d47c0a96ff8ccf451e186dcd988a60b4264e (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
# Maintainer: Chris Watson <cawatson1993@gmail.com>
pkgname=goshot-bin
pkgver=0.4.7
pkgrel=1
pkgdesc="A powerful CLI tool and library for creating beautiful code screenshots with customizable window chrome, syntax highlighting, and backgrounds"
arch=('x86_64' 'aarch64')
url="https://github.com/watzon/goshot"
license=('MIT')
optdepends=(
    'wl-clipboard: clipboard support for Wayland'
    'xclip: clipboard support for X11'
)
provides=('goshot')
conflicts=('goshot')

source_x86_64=("goshot_Linux_x86_64.tar.gz::https://github.com/watzon/goshot/releases/download/v${pkgver}/goshot_Linux_x86_64.tar.gz")
source_aarch64=("goshot_Linux_arm64.tar.gz::https://github.com/watzon/goshot/releases/download/v${pkgver}/goshot_Linux_arm64.tar.gz")
sha256sums_x86_64=('SKIP')
sha256sums_aarch64=('SKIP')

package() {
    cd "$srcdir"
    install -Dm755 goshot "$pkgdir/usr/bin/goshot"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}