summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a22156b4f1c9c880957c76aff9b6536d14c06435 (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
# Maintainer: Sushant Ray <contact@neon.is-a.dev>

pkgname='sprofile'
pkgver=0.1.1
pkgrel=2
epoch=
pkgdesc="A tool for accessing your spotify statistics without ever leaving the terminal"
arch=('x86_64')
url="https://github.com/goodboyneon/sprofile"
license=('MIT')
depends=('nodejs>=18' 'rust' 'cargo')
makedepends=('git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/goodboyneon/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=("187c5b80cd94f1740c5fa7588a34a398dd4d71e8eb9218a76fc693927c967894")


build() {
	cd "$srcdir/$pkgname-$pkgver"
  cargo build --release
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
  install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}