blob: 9377f57251bc2f0421fb4d4b6c0d492837862dcf (
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
32
33
|
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>
# Contributor: Tirth Jain <jaintirth24@gmail.com>
pkgname=zettl-git
_pkgname=zettl
pkgver=r9.9430608
pkgrel=1
pkgdesc="A blazing fast note-taking system"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/hedonhermdev/zettl"
license=('custom')
makedepends=('git' 'rust' 'cargo')
source=("git+$url.git")
b2sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
check() {
cd "$_pkgname"
RUSTUP_TOOLCHAIN=stable cargo test --release --locked --target-dir=target
}
build() {
return 0
}
package() {
cd "$_pkgname"
cargo install --no-track --locked --all-features --root "$pkgdir/usr/" --path .
}
|