blob: 29c830bf368c9814b75f377f7a11c73471186379 (
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: Reagan McFarland <me@reaganmcf.com>
# Maintainer: Alay Shah <alay.shah@rutgers.edu>
pkgname=lightmon
pkgver=0.2.0
pkgrel=1
pkgdesc="A lightweight, cross-platform, language-agnostic 'run code on file change' tool, inspired by Nodemon"
license=('GPL3')
arch=('x86_64')
url="https://github.com/reaganmcf/lightmon"
makedepends=('git' 'cargo')
source=("git+https://github.com/reaganmcf/lightmon.git")
sha256sums=('SKIP')
prepare() {
cd "$pkgname"
}
build() {
cd "$pkgname"
env CARGO_INCREMENTAL=0 cargo build --release --locked
}
package() {
cd "$pkgname"
install -D -m755 "target/release/lightmon" "$pkgdir/usr/bin/lightmon"
}
|