diff options
author | pwnwriter | 2023-04-28 20:00:32 +0545 |
---|---|---|
committer | pwnwriter | 2023-04-28 20:00:32 +0545 |
commit | a3b21b999a3e2fe9f04bb246f1be9c7f3d980a4b (patch) | |
tree | e0fde912526b8772e66cb2dcb4d3b8ea42ead673 | |
download | aur-haylxon.tar.gz |
init
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f82dd3072967 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = haylxon + pkgdesc = Blazing-fast and yet Sleuth cameraman to www* + pkgver = 0.1.5 + pkgrel = 1 + url = https://github.com/pwnwriter/haylxon + arch = x86_64 + license = MIT + makedepends = rust + makedepends = cargo + depends = openssl + depends = gcc-libs + source = haylxon-0.1.5.tar.gz::https://github.com/pwnwriter/haylxon/archive/v0.1.5.tar.gz + sha256sums = SKIP + +pkgname = haylxon diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d0d1d4b40c57 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: pwnwriter < hey@pwnwriter.xyz > + +pkgname=haylxon +binary=hxn +pkgver=0.1.5 +pkgrel=1 +pkgdesc="Blazing-fast and yet Sleuth cameraman to www*" +arch=('x86_64') +url="https://github.com/pwnwriter/haylxon" +license=('MIT') +depends=('openssl' 'gcc-libs') +makedepends=('rust' 'cargo') +source=("$pkgname-$pkgver.tar.gz::https://github.com/pwnwriter/haylxon/archive/v$pkgver.tar.gz") +sha256sums=('SKIP') + +build() { + cd "$pkgname-$pkgver" + cargo build --release +} + +package() { + cd "$pkgname-$pkgver" + install -Dm755 "target/release/$binary" "$pkgdir/usr/bin/$binary" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$binary/LICENSE" + install -Dm644 "README.md" "$pkgdir/usr/share/doc/$binary/README.md" +} + |