summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 788b82fde4006547181b4e9afb4334839e9837aa (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: robiot <me@robiot.dev>

pkgname=rustcat
_binname=rcat
pkgver=3.0.0
pkgrel=1
pkgdesc='A Modern Port Listener & Reverse Shell.'
arch=('x86_64')
url='https://github.com/robiot/rustcat'
license=('GPL-3.0')
makedepends=('cargo' 'git')
sha512sums=('SKIP')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")

build() {
  cd $pkgname-$pkgver

  cargo build --release
}

package() {
  cd $pkgname-$pkgver

  install -Dm 755 "target/release/$_binname" "$pkgdir/usr/bin/$_binname"
}