From 4405d0269e1554fe6d27639d03f3d01f1b2986d2 Mon Sep 17 00:00:00 2001 From: ngn Date: Mon, 19 Aug 2024 00:55:14 +0300 Subject: [PATCH] new: mtsc package --- src/mtsc/.gitignore | 3 +++ src/mtsc/changes.md | 5 +++++ src/mtsc/pkg.sh | 24 ++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 src/mtsc/.gitignore create mode 100644 src/mtsc/changes.md create mode 100644 src/mtsc/pkg.sh diff --git a/src/mtsc/.gitignore b/src/mtsc/.gitignore new file mode 100644 index 0000000..8b56c9f --- /dev/null +++ b/src/mtsc/.gitignore @@ -0,0 +1,3 @@ +.cache/ +dist/ +root/ diff --git a/src/mtsc/changes.md b/src/mtsc/changes.md new file mode 100644 index 0000000..89f7bb5 --- /dev/null +++ b/src/mtsc/changes.md @@ -0,0 +1,5 @@ +# 24.05 +Updated to new upstream release + +# 24.04 +First version diff --git a/src/mtsc/pkg.sh b/src/mtsc/pkg.sh new file mode 100644 index 0000000..390868d --- /dev/null +++ b/src/mtsc/pkg.sh @@ -0,0 +1,24 @@ +# general info +NAME="mtsc" +DESC="MatterLinux tools and scripts collection" +VERSION="24.05" + +# required files +FILES=("https://git.matterlinux.xyz/Matter/mtsc/archive/${VERSION}.tar.gz") +HASHES=("9d9ba6a83429e81bf54e22bbd66aba3040bc2f6ff804b14ac2ad9091b24df343") + +# install and build depends +DEPENDS=( + "bash" "coreutils" "gnupg" + "fakeroot" "tar" "matt" +) +BUILD=() + +PACKAGE(){ + tar xf "${VERSION}.tar.gz" + cd "${NAME}" + + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -r "${NAME}" +}