From 0d2047777104c52981aba1854af6c0cf2263e78e Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 22 Aug 2024 08:56:20 +0300 Subject: [PATCH] update: neofetch 7.1.0-matter4 --- src/neofetch/changes.md | 3 +++ src/neofetch/pkg.sh | 20 ++++++++++++------- src/pypi-pycairo/pkg.sh | 9 +++++---- src/pypi-sphinxcontrib-serializinghtml/pkg.sh | 7 ++++--- 4 files changed, 25 insertions(+), 14 deletions(-) diff --git a/src/neofetch/changes.md b/src/neofetch/changes.md index feb1272..d8e9b29 100644 --- a/src/neofetch/changes.md +++ b/src/neofetch/changes.md @@ -1,2 +1,5 @@ +# 7.1.0-matter4 +Updated to the latest upstream release + # 7.1.0-matter3 First version diff --git a/src/neofetch/pkg.sh b/src/neofetch/pkg.sh index d382af4..fe7293f 100644 --- a/src/neofetch/pkg.sh +++ b/src/neofetch/pkg.sh @@ -1,12 +1,18 @@ NAME="neofetch" DESC="Command-line system information tool written in bash 3.2+" -VERSION="7.1.0-matter3" -FILES=("https://git.matterlinux.xyz/Matter/neofetch/archive/$VERSION.tar.gz") -HASHES=("4f5c72ac89af2b32fcc573ae91909027a4c4e762743d6b2be337807bc909b923") -DEPENDS=() +VERSION="7.1.0-matter4" + +FILES=("https://git.matterlinux.xyz/Matter/neofetch/archive/${VERSION}.tar.gz") +HASHES=("0a9fcb3164816877e31a1ffb4ac6abc2fa1708988e6292c0c4720ab23be4ebdf") + +DEPENDS=("bash") +BUILD=() PACKAGE() { - tar xf $VERSION.tar.gz && cd $NAME - make DESTDIR=$ROOTDIR install - cd .. && rm -rf $NAME + tar xf "${VERSION}.tar.gz" + cd "${NAME}" + + make DESTDIR="${ROOTDIR}" install + + cd .. && rm -rf "${NAME}" } diff --git a/src/pypi-pycairo/pkg.sh b/src/pypi-pycairo/pkg.sh index 0634cde..18e6942 100644 --- a/src/pypi-pycairo/pkg.sh +++ b/src/pypi-pycairo/pkg.sh @@ -1,18 +1,19 @@ NAME="pypi-pycairo" -DESC="PyCairo provides bindings to Cairo" +DESC="Python bindings for the cairo graphics library" VERSION="1.18.2" FILES=("https://github.com/pygobject/pycairo/releases/download/v${VERSION}/pycairo-${VERSION}.tar.gz") HASHES=("be2ba51f234270dec340f28f1695a95e") DEPENDS=("python3" "cairo") +BUILD=("meson" "sphinx") PACKAGE() { - tar xf "${NAME}-${VERSION}.tar.gz" - cd "${NAME}-${VERSION}" + tar xf "pycairo-${VERSION}.tar.gz" + cd "pycairo-${VERSION}" python3 -m build --wheel --no-isolation python3 -m installer --destdir="${ROOTDIR}" dist/*.whl - cd .. && rm -rf "${NAME}-${VERSION}" + cd .. && rm -rf "pycairo-${VERSION}" } diff --git a/src/pypi-sphinxcontrib-serializinghtml/pkg.sh b/src/pypi-sphinxcontrib-serializinghtml/pkg.sh index cad07fb..d98953b 100644 --- a/src/pypi-sphinxcontrib-serializinghtml/pkg.sh +++ b/src/pypi-sphinxcontrib-serializinghtml/pkg.sh @@ -3,16 +3,17 @@ DESC="Sphinx extension which outputs \"serialized\" HTML files (json and pickle) VERSION="1.1.9" FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-${VERSION}.tar.gz") +FILES=("https://files.pythonhosted.org/packages/source/s/sphinxcontrib_serializinghtml/sphinxcontrib_serializinghtml-${VERSION}.tar.gz") HASHES=("84957dfa6d85d2e509181281082c11ee") DEPENDS=("python3") PACKAGE() { - tar xf "sphinxcontrib-serializinghtml-${VERSION}.tar.gz" - cd "sphinxcontrib-serializinghtml-${VERSION}" + tar xf "sphinxcontrib_serializinghtml-${VERSION}.tar.gz" + cd "sphinxcontrib_serializinghtml-${VERSION}" python3 -m build --wheel --skip-dependency-check --no-isolation PYTHONPATH=src python3 -m installer --destdir="${ROOTDIR}" dist/*.whl - cd .. && rm -r "sphinxcontrib-serializinghtml-${VERSION}" + cd .. && rm -r "sphinxcontrib_serializinghtml-${VERSION}" }