summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d0ff81f0eb094a9fbc1db20ea76b5a13a2b90bd (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
29
30
31
#Maintainer: ParadoxSpiral <skullduggery@riseup.net>
pkgname=axon-git
provides=('axon')
conflicts=('axon')
pkgver=r97.4e518f9
pkgrel=1
pkgdesc='The synpase TUI'
arch=('i686' 'x86_64')
url='https://axon.synapse-bt.org'
license=('GPLv3')
depends=('openssl')
makedepends=('cargo' 'git')
source=(
	git+https://github.com/ParadoxSpiral/axon
)
sha256sums=('SKIP')

pkgver() {
	cd axon
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd axon
	cargo build --release
}

package() {
	cd axon
	install -Dm755 target/release/axon "$pkgdir"/usr/bin/axon
}