summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 46ffdbe268ffd1377100069477b2ececba4eb4bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname=rustybrain
pkgver=0.4.0
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"
}