summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5c176e680426f9ca1a53f0cedcb2e2ff6633e62c (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
28
29
30
# Maintainer: Elmar <aur@ramle.be>
_pkgname=crtsh
pkgname=$_pkgname-git
pkgver=df40d0a
pkgrel=1

pkgdesc="This tool shows the result of crt.sh"
url="https://github.com/famasoon/$_pkgname.git"
arch=("any")
license=("none")
makedepends=("git" "go")
conflicts=("$_pkgname")
provides=("$_pkgname=${pkgver}")

source=("git+${url}")
sha256sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --always
}

build() {
  cd $_pkgname
  go build
}

package() {
  install -Dm755 $_pkgname/crtsh -t "${pkgdir}/usr/bin"
}