blob: daa854bf378e8220f92dbb1e2a0749cba6d554f2 (
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
|
# Maintainer: sineptic <augustobeilfuss2@gmail.com>
pkgsubn=clinote-git
pkgname=clinote-git
pkgver=0.1.2
pkgrel=1
depends=('xdg-utils>=1.2.1')
pkgdesc="A CLI that saves notes separateded by categories, fast and easy"
arch=('any')
url="https://github.com/augustobeilfuss2/clinote"
license=('LGPL-3.0-only')
source=("$url/archive/v0.1.2.tar.gz")
sha256sums=('SKIP')
prepare() {
cd "clinote-$pkgver"
export RUSTUP_TOOLCHAIN=stable
cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
}
build() {
cd "clinote-$pkgver"
export RUSTUP_TOOLCHAIN=stable
cargo build --release --frozen
}
package() {
cd "clinote-$pkgver"
install -Dm 755 "target/release/clinote" "$pkgdir/usr/bin/clinote"
}
|