blob: 573c7efe24deaea655d264c28dea64a6bc3e4898 (
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
|
pkgname=rustybrain
pkgver=0.4.3
pkgrel=1
pkgdesc="A CLI based Task Management App for Archlinux"
arch=('x86_64')
url="https://github.com/sricharanandra/rustybrain"
license=('Apache')
depends=('rust' 'cargo')
makedepends=('rust' 'cargo')
source=("$pkgname-$pkgver.tar.gz::https://github.com/sricharanandra/rustybrain/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}
post_install() {
echo "thank you for installing me. type 'rustybrain' in your terminal to get started."
}
post_update() {
echo "thank you for updating me. type 'rustybrain to check out if anything new has been added.'"
}
|