blob: 3788b172203976459431e079388b53b449942c6b (
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
28
|
# Maintainer: James Houghton <jamesthoughton@gmail.com>
pkgname=hypershare-git
_pkgname=hypershare
pkgver=0.2.1
pkgdesc="Small, interactive HTTP server with a TUI."
pkgrel=1
arch=('i686' 'x86_64')
license=('BSD')
makedepends=('cargo' 'git')
source=("git+https://github.com/48ca/hypershare")
url=https://github.com/48ca/hypershare
sha256sums=("SKIP")
pkgver() {
cd "${_pkgname}"
git rev-parse --short HEAD
}
build() {
cd "${_pkgname}"
cargo build --release --locked --all-features --target-dir=target
}
package() {
cd "${_pkgname}"
install -Dm 755 target/release/${_pkgname} -t "${pkgdir}/usr/bin"
}
|