diff options
-rw-r--r-- | tidy-viewer/.SRCINFO | 13 | ||||
-rw-r--r-- | tidy-viewer/.gitignore | 3 | ||||
-rw-r--r-- | tidy-viewer/PKGBUILD | 31 |
3 files changed, 0 insertions, 47 deletions
diff --git a/tidy-viewer/.SRCINFO b/tidy-viewer/.SRCINFO deleted file mode 100644 index f547f4f..0000000 --- a/tidy-viewer/.SRCINFO +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | pkgbase = tidy-viewer | ||
2 | pkgdesc = CLI csv pretty printer that uses column styling | ||
3 | pkgver = 1.4.30 | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/alexhallam/tv | ||
6 | arch = x86_64 | ||
7 | arch = aarch64 | ||
8 | license = Unlicense | ||
9 | makedepends = cargo | ||
10 | source = tv-1.4.30.tar.gz::https://github.com/alexhallam/tv/archive/1.4.30.tar.gz | ||
11 | sha256sums = 52beddc07283396c7fd30097dc2ea37b9f1872eee7f2d83546dc93dfe644747e | ||
12 | |||
13 | pkgname = tidy-viewer | ||
diff --git a/tidy-viewer/.gitignore b/tidy-viewer/.gitignore deleted file mode 100644 index 1d65adf..0000000 --- a/tidy-viewer/.gitignore +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | * | ||
2 | !PKGBUILD | ||
3 | !.SRCINFO | ||
diff --git a/tidy-viewer/PKGBUILD b/tidy-viewer/PKGBUILD deleted file mode 100644 index 4ddfa63..0000000 --- a/tidy-viewer/PKGBUILD +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | |||
3 | pkgname=tidy-viewer | ||
4 | _pkgname=tv | ||
5 | pkgver=1.4.30 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="CLI csv pretty printer that uses column styling" | ||
8 | arch=('x86_64' 'aarch64') | ||
9 | url="https://github.com/alexhallam/tv" | ||
10 | license=('Unlicense') | ||
11 | makedepends=('cargo') | ||
12 | source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") | ||
13 | sha256sums=('52beddc07283396c7fd30097dc2ea37b9f1872eee7f2d83546dc93dfe644747e') | ||
14 | |||
15 | prepare() { | ||
16 | cd "$_pkgname-$pkgver" | ||
17 | cargo fetch --locked --target "$CARCH-unknown-linux-gnu" | ||
18 | } | ||
19 | |||
20 | build() { | ||
21 | cd "$_pkgname-$pkgver" | ||
22 | export RUSTUP_TOOLCHAIN=stable | ||
23 | export CARGO_TARGET_DIR=target | ||
24 | cargo build --frozen --release | ||
25 | } | ||
26 | |||
27 | package() { | ||
28 | cd "$_pkgname-$pkgver" | ||
29 | install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" | ||
30 | install -Dm644 "$srcdir/$_pkgname-$pkgver/UNLICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
31 | } | ||