-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
51 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[package] | ||
name = "nuq" | ||
description = "A multi-format frontend to jq" | ||
version = "0.1.0" | ||
edition = "2021" | ||
authors = ["Erik Schubert <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Maintainer: Erik "Nuckal777" Schubert <[email protected]> | ||
pkgname=nuq | ||
pkgver=0.1.0 | ||
pkgrel=1 | ||
pkgdesc="A multi-format frontend to jq" | ||
arch=('x86_64') | ||
url="https://github.com/Nuckal777/nuq" | ||
license=('Unlicense') | ||
depends=('gcc-libs' 'jq') | ||
makedepends=('cargo' 'git') | ||
source=("$pkgname"::"git+https://github.com/Nuckal777/nuq#tag=v0.1.0") | ||
noextract=() | ||
md5sums=('SKIP') | ||
|
||
check() { | ||
cd "$pkgname" | ||
JQ_LIB_DIR=/lib RUSTUP_TOOLCHAIN=stable cargo test --release --locked --target-dir=target | ||
} | ||
|
||
build() { | ||
cd "$pkgname" | ||
JQ_LIB_DIR=/lib RUSTUP_TOOLCHAIN=stable cargo build --release --locked --all-features --target-dir=target | ||
} | ||
|
||
package() { | ||
cd "$pkgname" | ||
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters