summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a8639441d85b4b784ea9f1e0e9d28096fbbe8333 (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 Tait Hoyem <tait+ygg_aur@tait.tech>

pkgname=yggdrasil-sr
pkgver=0.1b
pkgrel=1
pkgdesc="Yggdrasil Screenreader -- Make Linux Accessible!"
url="https://yggdrasil-sr.github.io/"
license=('GPL3')
arch=('x86_64' 'aarch64')
depends=(
   clang rustup
)
provides=( yggdrasil-sr )

prepare() {
    rm -rf $srcdir/yggdrasil-prototype &2>/dev/null
    git clone https://github.com/yggdrasil-sr/yggdrasil-prototype
}

build() {
    cd $srcdir/yggdrasil-prototype
    cargo build
}

package() {
    mkdir -p $pkgdir/usr/bin/
    install -m 755 $srcdir/yggdrasil-prototype/target/debug/yggdrasil-prototype $pkgdir/usr/bin/yggdrasil-sr
}

#vim: syntax=sh