diff options
author | Yigit Sever | 2023-03-22 20:31:31 +0300 |
---|---|---|
committer | Yigit Sever | 2023-03-22 20:31:31 +0300 |
commit | c8714cad52d1572845d7a73cded7ba36d3deb46f (patch) | |
tree | ccd50fd6cba33b51fd7cbf545abbfefef31417a8 /datavzrd/PKGBUILD | |
parent | f7370f934ce9b9ed333740fbacfab6fcf3855f7d (diff) | |
download | packages-c8714cad52d1572845d7a73cded7ba36d3deb46f.tar.gz packages-c8714cad52d1572845d7a73cded7ba36d3deb46f.tar.bz2 packages-c8714cad52d1572845d7a73cded7ba36d3deb46f.zip |
Deleted package: datavzrd
Diffstat (limited to 'datavzrd/PKGBUILD')
-rw-r--r-- | datavzrd/PKGBUILD | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/datavzrd/PKGBUILD b/datavzrd/PKGBUILD deleted file mode 100644 index e6a7717..0000000 --- a/datavzrd/PKGBUILD +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=datavzrd | ||
4 | pkgver=2.18.1 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="A tool to create visual HTML reports from collections of CSV/TSV tables" | ||
7 | arch=('x86_64') | ||
8 | url="https://github.com/datavzrd/datavzrd" | ||
9 | license=('MIT') | ||
10 | makedepends=(cargo) | ||
11 | source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") | ||
12 | sha256sums=('4be1e791c43f35de4ab8a7048309f8dc9d3ef41a3c6daaedb629113bc0343f01') | ||
13 | |||
14 | prepare() { | ||
15 | cd "$srcdir/$pkgname-$pkgver" | ||
16 | cargo fetch --locked --target "$CARCH-unknown-linux-gnu" | ||
17 | } | ||
18 | |||
19 | build() { | ||
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 | |||
26 | check() { | ||
27 | cd "$srcdir/$pkgname-$pkgver" | ||
28 | export RUSTUP_TOOLCHAIN=stable | ||
29 | cargo test --frozen --all-features | ||
30 | } | ||
31 | |||
32 | package() { | ||
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 | } | ||