blob: c63731a8b1c23c29ff64a1f80b19da6e50cd2c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
pkgname=nightscape
pkgver=0.1.0
pkgrel=1
pkgdesc="A terminal-based night sky simulation with stars, moon, and rare events like comets and UFOs."
arch=('x86_64')
url="https://github.com/xhon4/nightscape"
license=('MIT')
depends=('rust' 'signal-hook' 'crossterm')
makedepends=('cargo')
source=("$pkgname-$pkgver.tar.gz::$url/archive/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"
}
|