summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20e349f757d5c64677d89280c2b95a813210d4c1 (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
# Maintainer: z3oxs <z3ox1s@protonmail.com>
pkgname=ghost-git
pkgver=1.1.2.2
pkgrel=1
pkgdesc="Simple tool to take screenshots using your terminal"
arch=(x86_64 i686)
url="https://github.com/z3oxs/ghost.git"
license=('MIT')
depends=(cairo libxi libxinerama libxrandr libxcursor libglvnd xsel xclip)
makedepends=(git go)
provides=(ghost)
conflicts=(ghost)
source=("git+$url")
md5sums=('SKIP')
sha256sums=('SKIP')

build() {
    cd "$srcdir/ghost"
    go build .
}

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