Skip to content

Commit

Permalink
add legba
Browse files Browse the repository at this point in the history
  • Loading branch information
dadevel committed Nov 6, 2023
1 parent ff56221 commit 20a3953
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions legba/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pkgname=legba
pkgver=latest
pkgrel=1
url="https://github.com/evilsocket/${pkgname}.git"
arch=(any)
license=(GPL3)
depends=()
makedepends=(cmake rust)
source=("git+${url}")
sha256sums=(SKIP)

package() {
cd "${srcdir}/${pkgname}"
mkdir -p "${pkgdir}"/opt/archpkgs/bin "${pkgdir}/opt/archpkgs/${pkgname}"
cargo build --release
cp ./target/release/legba "${pkgdir}"/opt/archpkgs/bin/
}

pkgver() {
cd "${srcdir}/${pkgname}"
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

0 comments on commit 20a3953

Please sign in to comment.