summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1c68c73ed7a125462bab1b6e151b934220daad2 (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
# Maintainer: iris snazzsinclair@gmail.com
pkgname=ftconall-git
_pkgname=ftconall
pkgver=0.2.0.r1.g8622bd7
pkgrel=1
pkgdesc="A new way to program for FTC on any IDE and any OS"
arch=('any')
url="https://github.com/Iris-TheRaibow/FTCOnAll"
license=('BSD3')
makedepends=(
			'git'
            'pyinstaller'
            'python>=3.7'
)
source=("$_pkgname::git+https://github.com/Iris-TheRainbow/FTCOnAll.git")
b2sums=('SKIP')
pkgver(){
    cd $_pkgname
	git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build(){
    cd $_pkgname
    pyinstaller __main__.spec
}
package(){
    cd $_pkgname
    cd dist
    cp __main__ ftc
    install -Dm755 -t "${pkgdir}/usr/bin" ftc
}