blob: 43f1efd78f42fff6e6de72e9c62c34883a8e6da9 (
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
|
_pkgname=mosint
pkgname="${_pkgname}-git"
pkgver=2.2.r125.79600a8
pkgrel=1
pkgdesc='An automated e-mail OSINT tool'
arch=('any')
url='https://github.com/alpkeskin/mosint'
license=('UNKNOWN')
makedepends=('go')
conflicts=("${_pkgname}")
source=("${_pkgname}::git+${url}")
pkgver() {
cd ${_pkgname}
base="$(grep mosint main.go | grep v | cut -d v -f 2)"
printf "${base}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd ${_pkgname}
go build .
}
package() {
cd ${_pkgname}
install -Dm755 ${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
}
sha256sums=('SKIP')
|