diff --git a/src/bash-completion/changes.md b/src/bash-completion/changes.md index 0474843..16cc0f8 100644 --- a/src/bash-completion/changes.md +++ b/src/bash-completion/changes.md @@ -1,2 +1,5 @@ +# 2.11m1 +Modified completions/tar to allow tar command completion with .mpf archives + # 2.11 First version diff --git a/src/bash-completion/pkg.sh b/src/bash-completion/pkg.sh index a226193..84c4909 100644 --- a/src/bash-completion/pkg.sh +++ b/src/bash-completion/pkg.sh @@ -1,17 +1,23 @@ NAME="bash-completion" DESC="Programmable completion functions for bash" -VERSION="2.11" -FILES=("https://github.com/scop/bash-completion/releases/download/$VERSION/bash-completion-$VERSION.tar.xz") +VERSION="2.11m1" + +FILES=("https://github.com/scop/bash-completion/releases/download/${VERSION%m*}/bash-completion-${VERSION%m*}.tar.xz") HASHES=("73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac") + DEPENDS=("bash") PACKAGE() { - tar xf $NAME-$VERSION.tar.xz - cd $NAME-$VERSION + tar xf "${NAME}-${VERSION%m*}.tar.xz" + cd "${NAME}-${VERSION%m*}" + + # allow completions with .mpf archives + sed 's/@(tar|gem|spkg)/@(tar|gem|spkg|mpf)/g' -i completions/tar ./configure --prefix=/usr --sysconfdir=/etc - make && make DESTDIR="$ROOTDIR" install - rm -r "$ROOTDIR/etc/profile.d" + make + make DESTDIR="${ROOTDIR}" install + rm -r "${ROOTDIR}/etc/profile.d" - cd .. && rm -r $NAME-$VERSION + cd .. && rm -r "${NAME}-${VERSION%m*}" } diff --git a/src/pinentry/.gitignore b/src/growpart/.gitignore similarity index 100% rename from src/pinentry/.gitignore rename to src/growpart/.gitignore diff --git a/src/pinentry/changes.md b/src/growpart/changes.md similarity index 63% rename from src/pinentry/changes.md rename to src/growpart/changes.md index 95d3fa2..ae9e642 100644 --- a/src/pinentry/changes.md +++ b/src/growpart/changes.md @@ -1,2 +1,2 @@ -# 1.2.1 +# 0.33 First version diff --git a/src/growpart/pkg.sh b/src/growpart/pkg.sh new file mode 100644 index 0000000..a0ba533 --- /dev/null +++ b/src/growpart/pkg.sh @@ -0,0 +1,22 @@ +# general info +NAME="growpart" +DESC="An utility for growing file partitions" +VERSION="0.33" + +# required files +FILES=("https://github.com/canonical/cloud-utils/archive/refs/tags/${VERSION}.tar.gz") +HASHES=("338770d637788466aacfcbcec17a8d0046f92a13cc3b25fce8fceadb02a7339f") + +# install and build depends +DEPENDS=("bash") +BUILD=() + +PACKAGE(){ + tar xf "${VERSION}.tar.gz" + cd "cloud-utils-${VERSION}" + + install -Dm 755 "bin/growpart" -t "${ROOTDIR}/usr/bin" + install -Dm 644 "man/growpart.1" -t "${ROOTDIR}/usr/share/man/man1" + + cd .. && rm -r "cloud-utils-${VERSION}" +} diff --git a/src/pavucontrol/pkg.sh b/src/pavucontrol/pkg.sh index 6bf187e..fbc3691 100644 --- a/src/pavucontrol/pkg.sh +++ b/src/pavucontrol/pkg.sh @@ -1,20 +1,24 @@ NAME="pavucontrol" DESC="Simple GTK based volume control tool for the PulseAudio sound server" VERSION="5.0" -FILES=("https://freedesktop.org/software/pulseaudio/pavucontrol/pavucontrol-$VERSION.tar.xz") + +FILES=("https://freedesktop.org/software/pulseaudio/pavucontrol/pavucontrol-${VERSION}.tar.xz") HASHES=("a4a5dc51dcf4d912443faf3fe8d32b55") + DEPENDS=( - "gtkmm3" "json-glib" "libcanberra" - "libsigc++" "pulseaudio" "pangomm" - "libtool" + "gcc-libs" "glib" "glibc" + "glibmm" "gtkmm3" "json-glib" + "libcanberra" "pulseaudio" "libsigc++" ) +BUILD=("lynx" "meson") PACKAGE() { - tar xf $NAME-$VERSION.tar.xz - cd $NAME-$VERSION + tar xf "${NAME}-${VERSION}.tar.xz" + cd "${NAME}-${VERSION}" - ./configure --prefix=/usr --docdir=/usr/share/doc/pavucontrol-$VERSION - make && make DESTDIR="$ROOTDIR" install + ./configure --prefix=/usr --docdir="/usr/share/doc/pavucontrol-${VERSION}" + make + make DESTDIR="${ROOTDIR}" install - cd .. && rm -r $NAME-$VERSION + cd .. && rm -r "${NAME}-${VERSION}" } diff --git a/src/pinentry/pkg.sh b/src/pinentry/pkg.sh deleted file mode 100644 index 0abb2c5..0000000 --- a/src/pinentry/pkg.sh +++ /dev/null @@ -1,16 +0,0 @@ -NAME="pinentry" -DESC="Collection of simple PIN or pass-phrase entry dialogs which utilize the Assuan protocol" -VERSION="1.2.1" -FILES=("https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-$VERSION.tar.bz2") -HASHES=("be9b0d4bb493a139d2ec20e9b6872d37") -DEPENDS=("libassuan" "libgpg-error") - -PACKAGE() { - tar xf $NAME-$VERSION.tar.bz2 - cd $NAME-$VERSION - - ./configure --prefix=/usr --enable-pinentry-tty - make && make DESTDIR=$ROOTDIR install - - cd .. && rm -rf $NAME-$VERSION -} diff --git a/src/polybar/changes.md b/src/polybar/changes.md index 63a8ea0..c41d180 100644 --- a/src/polybar/changes.md +++ b/src/polybar/changes.md @@ -1,2 +1,5 @@ +# 3.7.2 +Updated to the latest upstream release + # 3.7.1 First version diff --git a/src/polybar/pkg.sh b/src/polybar/pkg.sh index b642da6..4e91683 100644 --- a/src/polybar/pkg.sh +++ b/src/polybar/pkg.sh @@ -1,18 +1,25 @@ NAME="polybar" -DESC="A fast and easy-to-use status bar " -VERSION="3.7.1" -FILES=("https://github.com/polybar/polybar/releases/download/$VERSION/polybar-$VERSION.tar.gz") -HASHES=("5de6ad385ba09dc453a4e5ec7054749a4882b5b21a62c17ae40bf7c90613ff0f") +DESC="A fast and easy-to-use status bar" +VERSION="3.7.2" + +FILES=("https://github.com/polybar/polybar/releases/download/${VERSION}/polybar-${VERSION}.tar.gz") +HASHES=("e2feacbd02e7c94baed7f50b13bcbf307d95df0325c3ecae443289ba5b56af29") + DEPENDS=( "libuv" "cairo" "xcb-util-image" "xcb-util-wm" "xcb-util-xrm" "xcb-util-cursor" "alsa-lib" "pulseaudio" "mpd" - "libnl" "jsoncpp" "curl" + "libnl" "jsoncpp" "curl" +) +BUILD=( + "cmake" "ninja" "pkg-config" + "python3" "sphinx" "i3wm" + "xcb-proto" ) PACKAGE() { - tar xf polybar-$VERSION.tar.gz - cd $NAME-$VERSION + tar xf "polybar-${VERSION}.tar.gz" + cd "${NAME}-${VERSION}" mkdir build cd build @@ -23,7 +30,9 @@ PACKAGE() { -DBUILD_DOC_HTML=OFF \ -DBUILD_TESTS=ON \ -DPYTHON_EXECUTABLE=/usr/bin/python3 - cmake --build . && DESTDIR="$ROOTDIR" cmake --install . - cd ../.. && rm -r $NAME-$VERSION + cmake --build . + DESTDIR="${ROOTDIR}" cmake --install . + + cd ../.. && rm -r ${NAME}-${VERSION} }