Samyak2 / toipe

yet another typing test, but crab flavoured
MIT License
596 stars 31 forks source link

Add support for AUR #29

Open 2dvoid opened 2 years ago

2dvoid commented 2 years ago

Please submit a PKGBUILD to the Arch User Repository if possible.

notjedi commented 2 years ago

@Samyak2 you can prolly take a look at cargo-pkgbuild

here is the generated file that i got:

pkgname=toipe
pkgver=0.4.0
pkgrel=1
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
pkgdesc="A trusty terminal typing tester."
license=('MIT')

build() {
    return 0
}

package() {
    cd $srcdir
    cargo install --root="$pkgdir" --git=https://github.com/Samyak2/toipe
}
Samyak2 commented 2 years ago

There's an umbrella issue open for making toipe installable through package managers - #13

@Samyak2 you can prolly take a look at cargo-pkgbuild

here is the generated file that i got:

@notjedi thanks! I'll look at it