diff --git a/src/matt/config.ini b/src/matt/config.ini new file mode 100644 index 0000000..dbc7da1 --- /dev/null +++ b/src/matt/config.ini @@ -0,0 +1,17 @@ +# configuration file for matt, please see the wiki page for more information +# https://matterlinux.xyz/wiki/matt + +tmpdir = /var/lib/matt/temp +datadir = /var/lib/matt/data + +[base] +url = mptp://stable.matterlinux.xyz/base +# url = mptp://next.matterlinux.xyz/base + +[desktop] +url = mptp://stable.matterlinux.xyz/desktop +# url = mptp://next.matterlinux.xyz/base + +# [server] +# url = mptp://stable.matterlinux.xyz/server +# url = mptp://next.matterlinux.xyz/server diff --git a/src/matt/pkg.sh b/src/matt/pkg.sh index a96553d..e6aef39 100644 --- a/src/matt/pkg.sh +++ b/src/matt/pkg.sh @@ -4,8 +4,14 @@ DESC="The (new) MatterLinux package manager" VERSION="24.01" # required files -FILES=("https://git.matterlinux.xyz/Matter/matt/archive/${VERSION}.tar.gz") -HASHES=("0315077dd05777654305079a3ea12c6f436c2fe7f3ea3e4b1fb00cd476a25073") +FILES=( + "https://git.matterlinux.xyz/Matter/matt/archive/${VERSION}.tar.gz" + "config.ini" +) +HASHES=( + "0315077dd05777654305079a3ea12c6f436c2fe7f3ea3e4b1fb00cd476a25073" + "d71417d617f9953c3d2746edd3c62dd1b17851e5a459a62ffc320c9738c88b30" +) # install and build depends DEPENDS=("libmp" "libinih" "gettext") @@ -18,10 +24,10 @@ PACKAGE(){ make install -Ddm755 "${ROOTDIR}/usr/bin" - install -Ddm755 "${ROOTDIR}/etc" + install -Ddm755 "${ROOTDIR}/etc/matt" make DESTDIR="${ROOTDIR}" install - make DESTDIR="${ROOTDIR}" config + install -m644 "${ROOTDIR}/config.ini" "${ROOTDIR}/etc/matt/config.ini" cd .. && rm -r "${NAME}" }