update: add a custom configuration for matt
This commit is contained in:
parent
996960d94f
commit
519fa98486
17
src/matt/config.ini
Normal file
17
src/matt/config.ini
Normal file
@ -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
|
@ -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}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user