blob: 75afa36b21c13ac58ff53b6a9b18561c7aa2d42a (
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
|
# Maintainer: Dennis Kraus kraus@posteo.de
pkgname=toipe
pkgver=0.4.1
pkgrel=1
pkgdesc="yet another typing test, but crab flavoured "
arch=("x86_64")
url="https://github.com/Samyak2/toipe"
license=("MIT")
depends=()
makedepends=("cargo")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Samyak2/${pkgname}/archive/v${pkgver}.tar.gz")
sha256sums=('fd1fdeffecdf5cb664d3b5c675ecde62476df689b2314c5c223eb988a1ef2209')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release
}
check() {
cd "${pkgname}-${pkgver}"
cargo check --release
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|