summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4f4e63678e42f9fa3235c368a51beb3b36967c3 (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
pkgname=mindfuck-compiler
pkgver=0.0.1
pkgrel=1
pkgdesc="A compiler for the MindFuck programming language!"
arch=('x86_64')
url="https://autizm.us"
license=('MIT')
depends=('nasm' 'binutils')
makedepends=('rust' 'cargo')
source=("https://github.com/Polokalap/mindfuck-compiler/archive/refs/heads/main.zip")
sha256sums=('8bc4b26b9347317fd1df80734b38fce0636d4a5f13dba8a115aeb51a08065ed3')

build() {

    cd "$srcdir/mindfuck-compiler-main"
    cargo build --release

}

package() {

    cd "$srcdir/mindfuck-compiler-main"
    install -Dm755 "target/release/mfc" "$pkgdir/usr/bin/mfc"

}