blob: c4b92ce38af067090e46b9b62c780945fb078a75 (
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: Yo'av Moshe <pipet@yoavmoshe.com>
pkgname=pipet-git
pkgver=r16.060b068
pkgrel=1
pkgdesc="a swiss-army tool for scraping and extracting data from online assets, made for hackers"
arch=('x86_64' 'aarch64')
url="https://github.com/bjesus/pipet"
license=('MIT')
depends=('git' 'go')
makedepends=('go' 'git')
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname/cmd/pipet"
go build -v -o "$srcdir/$pkgname"
}
package() {
install -Dm755 "$srcdir/$pkgname/pipet" "$pkgdir/usr/bin/pipet"
}
|