summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 600a323d52e1543859693ffb34eac34351163f00 (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
32
33
34
35
36
37
38
39
# Maintainer: Pietro <yexmaintainer@protonmail.com>
pkgname=yex-git
pkgver=0.1.r128.6a6648a
pkgrel=1
pkgdesc="Yex programming language created by nonamescm"
arch=(x86_64)
url="https://github.com/yex-lang/yex-lang"
license=('MIT')
depends=()
makedepends=(git rust)
checkdepends=()
optdepends=()
provides=(yex)
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

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

}

build() {
	cd "yex-lang"
	cargo install --path yex --force
}


package() {
	echo "add ~/.cargo/bin into your path in order to run yex" 
}