summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3fbd25dc2b59b538eef8197f87c71ee113af70f1 (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
# Maintainer: Isabel <isabel@isabelroses.com>
pkgname=bellado-git
_pkgname=bellado
pkgver=1.2.0
pkgrel=1
pkgdesc="A fast and once simple cli todo tool"
arch=('x86_64')
url="https://github.com/isabelroses/bellado"
license=('MIT')
depends=()
makedepends=('git' 'cargo')
source=("$pkgname::git+$url")
md5sums=('SKIP')

build() {
	export RUSTUP_TOOLCHAIN=stable
	cd "$pkgname"
	cargo build --release
}

package() {
	cd "$pkgname"
	install -Dm755 "target/release/bellado" "$pkgdir/usr/bin/bellado"
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
	install -Dm644 README.md "$pkgdir/usr/share/doc/$_pkgname/README.md"
}