diff options
author | Jean Lucas | 2019-10-07 14:27:29 -0400 |
---|---|---|
committer | Jean Lucas | 2019-10-07 14:27:29 -0400 |
commit | 041dea26da31bb1ac2b09b2da72c56f57a8c4a09 (patch) | |
tree | 186e1a42727e179f28097dd6acf8feb6af1acf86 | |
download | aur-041dea26da31bb1ac2b09b2da72c56f57a8c4a09.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c4d33595e3e5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = spotify-tui + pkgdesc = Spotify for the terminal written in Rust + pkgver = 0.4.0 + pkgrel = 1 + url = https://github.com/Rigellute/spotify-tui + arch = i686 + arch = x86_64 + license = MIT + makedepends = cargo + depends = openssl + source = spotify-tui-0.4.0.tar.gz::https://github.com/Rigellute/spotify-tui/archive/v0.4.0.tar.gz + sha512sums = b66d65e6d702272769c9634a7c4bb0254a2c70b06571037a075ef512544ce0facf942e524bb8439e277dbb400a6e811ffc64c62e6ca2167e3622b43d0039f535 + +pkgname = spotify-tui + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e898d92e1c09 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Jean Lucas <jean@4ray.co> + +pkgname=spotify-tui +pkgver=0.4.0 +pkgrel=1 +pkgdesc='Spotify for the terminal written in Rust' +arch=(i686 x86_64) +url=https://github.com/Rigellute/spotify-tui +license=(MIT) +depends=(openssl) +makedepends=(cargo) +source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz) +sha512sums=('b66d65e6d702272769c9634a7c4bb0254a2c70b06571037a075ef512544ce0facf942e524bb8439e277dbb400a6e811ffc64c62e6ca2167e3622b43d0039f535') + +build() { + cd $pkgname-$pkgver + cargo build --release +} + +package() { + cd $pkgname-$pkgver + install -D target/release/spt -t "$pkgdir"/usr/bin + install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname + install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +} |