diff options
author | JOLIMAITRE Matthieu | 2024-03-13 14:17:26 +0100 |
---|---|---|
committer | JOLIMAITRE Matthieu | 2024-03-13 14:17:26 +0100 |
commit | cbaf9089c316bca9fc700e775ff03290d1474dad (patch) | |
tree | 55a593224d6143397db32ded6640938f36f5ab88 | |
download | aur-lustre-tools-4.tar.gz |
init
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c1a5b6671c69 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = lustre-tools-4 + pkgdesc = The Lustre developpment tools free distribution version 4. + pkgver = 1.0.0 + pkgrel = 1 + url = https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/lustre-v4/distrib/ + arch = x86_64 + license = Free Distribution of the Lustre/Lesar Software + depends = findutils + source = https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/lustre-v4/distrib/archives/lustre-v4-III-e-linux64.tgz + sha256sums = 1fe7dad0731f13bc9151d0d5e0efe7d6a46b963da485c87595df0e14d51927f7 + +pkgname = lustre-tools-4 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b0851a048a75 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: JOLIMAITRE Matthieu <matthieu@imagevo.fr> +pkgname="lustre-tools-4" +pkgver=1.0.0 +pkgrel=1 +pkgdesc="The Lustre developpment tools free distribution version 4." +url="https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/lustre-v4/distrib/" +arch=("x86_64") +license=("Free Distribution of the Lustre/Lesar Software") +makedepends=() +optdepends=() +depends=('findutils') +source=("https://www-verimag.imag.fr/DIST-TOOLS/SYNCHRONE/lustre-v4/distrib/archives/lustre-v4-III-e-linux64.tgz") +sha256sums=("1fe7dad0731f13bc9151d0d5e0efe7d6a46b963da485c87595df0e14d51927f7") + +build() { + cd "$srcdir/lustre-v4-III-e0-linux64" + mv bin bin_ + mkdir bin + for exec in $(cd bin_ ; ls) + do + echo '#!/bin/sh +set -e +export LUSTRE_INSTALL=/usr/share/lustre-tools-4 +/usr/share/lustre-tools-4/bin_/'$exec' $@ +' > "bin/$exec" + chmod a+x "bin/$exec" + done +} + +package() { + mkdir -p "$pkgdir/usr/share" "$pkgdir/etc/profile.d" + cp -r "$srcdir/lustre-v4-III-e0-linux64" "$pkgdir/usr/share/lustre-tools-4" + echo "append_path '/usr/share/lustre-tools-4/bin' +export PATH" > "$pkgdir/etc/profile.d/lustre-tools-4.sh" +} |