summaryrefslogtreecommitdiffstats
path: root/datavzrd/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2023-06-08 01:18:01 +0300
committerYigit Sever2023-06-08 01:18:01 +0300
commitdb9cdd2fcc8ad6b124b9cf3a3baa97d0b03848fa (patch)
tree026a1fa2ffe37d457bc8b958202c55dd0727c2b2 /datavzrd/PKGBUILD
parent3a2443243c92990e6f5b0d9a5dcf712248b78578 (diff)
downloadpackages-db9cdd2fcc8ad6b124b9cf3a3baa97d0b03848fa.tar.gz
packages-db9cdd2fcc8ad6b124b9cf3a3baa97d0b03848fa.tar.bz2
packages-db9cdd2fcc8ad6b124b9cf3a3baa97d0b03848fa.zip
Deleted package: datavzrd
Diffstat (limited to 'datavzrd/PKGBUILD')
-rw-r--r--datavzrd/PKGBUILD36
1 files changed, 0 insertions, 36 deletions
diff --git a/datavzrd/PKGBUILD b/datavzrd/PKGBUILD
deleted file mode 100644
index d194a49..0000000
--- a/datavzrd/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2
3pkgname=datavzrd
4pkgver=2.19.2
5pkgrel=1
6pkgdesc="A tool to create visual HTML reports from collections of CSV/TSV tables"
7arch=('x86_64')
8url="https://github.com/datavzrd/datavzrd"
9license=('MIT')
10makedepends=(cargo)
11source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
12sha256sums=('634ebdb8a2200c38256411938208380bf1650b31b20981868cf62da6faa6a17b')
13
14prepare() {
15 cd "$srcdir/$pkgname-$pkgver"
16 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
17}
18
19build() {
20 cd "$srcdir/$pkgname-$pkgver"
21 export RUSTUP_TOOLCHAIN=stable
22 export CARGO_TARGET_DIR=target
23 cargo build --frozen --release --all-features
24}
25
26check() {
27 cd "$srcdir/$pkgname-$pkgver"
28 export RUSTUP_TOOLCHAIN=stable
29 cargo test --frozen --all-features
30}
31
32package() {
33 cd "$srcdir/$pkgname-$pkgver"
34 install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
35 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36}