Add tools

This commit is contained in:
Tipragot 2023-09-09 16:47:57 +02:00
parent 8d0b78b77b
commit 54f2d005b4
No known key found for this signature in database
10 changed files with 22 additions and 2 deletions

View file

@ -4,9 +4,9 @@ arch=('any')
url='https://git.tipragot.fr/tipragot/tos'
license=('MIT')
pkgver='0.1.1'
pkgver='0.1.2'
pkgrel='1'
depends=('tos-core' 'xorg-server' 'tos-fonts')
depends=('tos-core' 'xorg-server' 'tos-fonts' 'tos-tools')
source=('tos-desktop.conf')
cksums=('835692063')

View file

@ -0,0 +1,17 @@
pkgname='tos-tools'
pkgdesc='Rust version of GNU tools'
arch=('any')
url='https://git.tipragot.fr/tipragot/tos'
license=('MIT')
pkgver='0.1.0'
pkgrel='1'
depends=('tos-core')
makedepends=('cargo')
package() {
cargo install --root /tmp/build coreutils
mkdir -p ${pkgdir}/usr/bin
cp /tmp/build/bin/coreutils ${pkgdir}/usr/bin
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

2
test/.crates.toml Normal file
View file

@ -0,0 +1,2 @@
[v1]
"coreutils 0.0.21 (registry+https://github.com/rust-lang/crates.io-index)" = ["coreutils"]

1
test/.crates2.json Normal file
View file

@ -0,0 +1 @@
{"installs":{"coreutils 0.0.21 (registry+https://github.com/rust-lang/crates.io-index)":{"version_req":null,"bins":["coreutils"],"features":[],"all_features":false,"no_default_features":false,"profile":"release","target":"x86_64-unknown-linux-gnu","rustc":"rustc 1.71.1 (eb26296b5 2023-08-03)\nbinary: rustc\ncommit-hash: eb26296b556cef10fb713a38f3d16b9886080f26\ncommit-date: 2023-08-03\nhost: x86_64-unknown-linux-gnu\nrelease: 1.71.1\nLLVM version: 16.0.5\n"}}}

BIN
test/bin/coreutils Normal file

Binary file not shown.