[arch-commits] Commit in tickrs/repos (community-x86_64 community-x86_64/PKGBUILD)
Orhun Parmaksiz
orhun at archlinux.org
Fri Apr 2 15:06:49 UTC 2021
Date: Friday, April 2, 2021 @ 15:06:49
Author: orhun
Revision: 911102
archrelease: copy trunk to community-x86_64
Added:
tickrs/repos/community-x86_64/
tickrs/repos/community-x86_64/PKGBUILD
(from rev 911101, tickrs/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: tickrs/repos/community-x86_64/PKGBUILD (from rev 911101, tickrs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-04-02 15:06:49 UTC (rev 911102)
@@ -0,0 +1,30 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=tickrs
+pkgver=0.14.4
+pkgrel=2
+pkgdesc="Realtime ticker data in your terminal"
+arch=('x86_64')
+url="https://github.com/tarkah/tickrs"
+license=('MIT')
+depends=('gcc-libs' 'zlib')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('efd0a918a51c5e868d2615f3126a90f91c1215f281d4d4872928e05fcc216c2b8b5b83a5f9704179cbe249c9452e08caa77c0c5447387843f4d410aaa52d4853')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --locked
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ cargo test --release --locked
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -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"
+}
More information about the arch-commits
mailing list