update: rename mc to confer

This commit is contained in:
ngn 2024-08-22 07:26:02 +03:00
parent 57a3a9420c
commit 394685c445
7 changed files with 46 additions and 29 deletions

View File

@ -1,2 +1,2 @@
# 24.01
# 24.03
First version

22
src/confer/pkg.sh Normal file
View File

@ -0,0 +1,22 @@
# general info
NAME="confer"
DESC="MatterLinux configuration manager"
VERSION="24.03"
# required files
FILES=("https://git.matterlinux.xyz/Matter/confer/archive/${VERSION}.tar.gz")
HASHES=("4166da9e5f9544bc2aa931dc12926d244007c9ed93945d4a4e375e739e0e1fd8")
# install and build depends
DEPENDS=("libgit2" "libinih" "curl")
BUILD=("gettext")
PACKAGE(){
tar xf "${VERSION}.tar.gz"
cd "${NAME}"
make
make DESTDIR="${ROOTDIR}" install
cd .. && rm -r "${NAME}"
}

View File

@ -1,2 +0,0 @@
# 1.1.39
First version

View File

@ -1,24 +1,36 @@
NAME="links"
DESC="Text and graphics mode WWW browser"
VERSION="2.29"
FILES=("http://links.twibright.com/download/links-2.29.tar.bz2")
FILES=("http://links.twibright.com/download/links-${VERSION}.tar.bz2")
HASHES=("f60b87ffee090c5d6820951eba710572")
DEPENDS=(
"libevent" "libavif" "libpng"
"libjpeg-turbo" "librsvg" "libtiff"
"brotli" "gpm"
"brotli" "bzip2" "gpm"
"libevent" "zstd" "openssl"
"xz" "libpng" "librsvg"
"libtiff" "libx11"
)
BUILD=("libxt")
PACKAGE() {
tar xf $NAME-$VERSION.tar.bz2
cd $NAME-$VERSION
tar xf "${NAME}-${VERSION}.tar.bz2"
cd "${NAME}-${VERSION}"
./configure --prefix=/usr --enable-graphics --mandir=/usr/share/man
make && make DESTDIR="$ROOTDIR" install
sed -i '/AC_PROG_CC/a AC_PROG_CXX/' configure.in
autoreconf -fi
./configure --prefix=/usr \
--enable-graphics \
--mandir=/usr/share/man \
--disable-javascript \
--with-x --with-fb
install -v -d -m755 "$ROOTDIR/usr/share/doc/links-$VERSION"
make
make DESTDIR="${ROOTDIR}" install
install -v -d -m755 "${ROOTDIR}/usr/share/doc/links-${VERSION}"
install -v -m644 doc/links_cal/* KEYS BRAILLE_HOWTO \
"$ROOTDIR/usr/share/doc/links-$VERSION"
"${ROOTDIR}/usr/share/doc/links-${VERSION}"
cd .. && rm -r $NAME-$VERSION
cd .. && rm -r "${NAME}-${VERSION}"
}

3
src/mc/.gitignore vendored
View File

@ -1,3 +0,0 @@
.cache/
dist/
root/

View File

@ -1,12 +0,0 @@
NAME="mc"
DESC="MatterLinux configuration manager"
VERSION="24.01"
FILES=("https://git.matterlinux.xyz/Matter/mc/archive/$VERSION.tar.gz")
HASHES=("efae005c78681fa29e80c21cd1d5377718bfabf1de7b9a6fc85d1c1ff0451569")
DEPENDS=("libgit2" "libinih")
PACKAGE() {
tar xf $VERSION.tar.gz && cd $NAME
make && make DESTDIR="$ROOTDIR" install
cd .. && rm -r $NAME
}