blob: d0d1d4b40c578b25307dea8c2af7c3b0342a98a4 (
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
|
# 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"
}
|