aboutsummaryrefslogtreecommitdiff
path: root/org.gnu.coreutils
diff options
context:
space:
mode:
authoraxtlos <axtlos@tar.black>2022-07-01 17:43:05 +0200
committeraxtlos <axtlos@tar.black>2022-07-01 17:43:05 +0200
commit3444eb9046724c70b6f88ce5f78c888aa35f1349 (patch)
treece1099428ceb41f7a807c77c93bf3a49789e5d18 /org.gnu.coreutils
parentc3bd7cb490a184db660613e0d516351a9ebefae7 (diff)
downloadflatpaks-3444eb9046724c70b6f88ce5f78c888aa35f1349.tar.gz
flatpaks-3444eb9046724c70b6f88ce5f78c888aa35f1349.tar.bz2
Add coreutils
Diffstat (limited to '')
-rw-r--r--org.gnu.coreutils/coreutil-run6
-rw-r--r--org.gnu.coreutils/org.gnu.coreutils.yml25
2 files changed, 31 insertions, 0 deletions
diff --git a/org.gnu.coreutils/coreutil-run b/org.gnu.coreutils/coreutil-run
new file mode 100644
index 0000000..b9028c8
--- /dev/null
+++ b/org.gnu.coreutils/coreutil-run
@@ -0,0 +1,6 @@
+#!/usr/bin/bash
+if [[ "$@" == "" ]]; then
+ echo "No command given, exiting ..."
+ exit 1
+fi
+$@ \ No newline at end of file
diff --git a/org.gnu.coreutils/org.gnu.coreutils.yml b/org.gnu.coreutils/org.gnu.coreutils.yml
new file mode 100644
index 0000000..9ba9c84
--- /dev/null
+++ b/org.gnu.coreutils/org.gnu.coreutils.yml
@@ -0,0 +1,25 @@
+app-id: org.gnu.coreutils
+runtime: org.freedesktop.Platform
+runtime-version: '21.08'
+sdk: org.freedesktop.Sdk
+finish-args:
+ - --filesystem=host
+command: coreutil-run
+
+
+modules:
+ - name: coreutils
+ buildsystem: simple
+ sources:
+ - type: archive
+ path: ./coreutils-9.1.tar.xz
+ dest: ./coreutils
+ - type: file
+ path: ./coreutil-run
+ build-commands:
+ - ls coreutils
+ - cd coreutils && ./configure --prefix=/app --libexecdir=/app/lib
+ - cd coreutils && make
+ - ls coreutils
+ - cd coreutils && make install
+ - install -Dm755 ./coreutil-run /app/bin/coreutil-run