github pacstall/pacstall 6.1.0
6.1.0 Xanthous

21 hours ago

Pacstall v6.1.0 Xanthous Xanthous

This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 4.0.0 or higher with pacstall -U pacstall:master, or reinstall using the deb file. The prebuilt deb is also available from the Chaotic PPR, using sudo apt install pacstall.

Developers, Developers, Developers...

Features

Bug Fixes

Current translation status:

Weblate translation status

See https://github.com/pacstall/pacstall#translations for how to help.


How to use the new features

-x/--debug flag

For a while, Pacstall has had support for a special debug output if one added set -x to the beginning of the main pacstall file, making the traditional bash -x output more verbose. To make this process slightly easier, we have now introduced this flag directly into Pacstall, though it must always be used separately as the first argument, like so:

pacstall -x -I foobar

This output will produce a very large amount of text to the terminal, and will make other prompts harder to see, so it should only be used for debugging purposes. To make the output send to an external log file instead of the terminal, you can use the following syntax:

BASH_XTRACEFD=3 pacstall -x -I foobar 3>/tmp/pac-debug.log

This will have Pacstall appear to run normally, while writing the debug output to /tmp/pac-debug.log. This can also make for an effective way to have the standard output in one terminal window, using the command above, and the debug output in a second window, using:

tail -f /tmp/pac-debug.log

Pacscript for this releases Deb
pkgname="pacstall"
pkgver="6.1.0"
arch=("all")
pkgdesc="An AUR-inspired package manager for Ubuntu
Pacstall is the AUR Ubuntu wishes it had. It takes the concept of the AUR
and puts a spin on it, making it easier to install and update downstream programs,
without scouring github repos and the likes."
url='https://pacstall.dev'
depends=(
  'bash'
  'curl'
  'wget'
  'git'
  'unzip'
  'zstd'
  'tar'
  'gzip'
  'sensible-utils'
  'iputils-ping'
  'lsb-release'
  'aptitude'
  'bubblewrap'
  'build-essential'
  'jq'
  'distro-info-data'
  'gettext'
)
makedepends=(
  'gettext'
  'gzip'
)
recommends=(
  'axel'
  'ninja-build'
  'meson'
  'spdx-licenses'
)
maintainer=(
  "Pacstall Team <pacstall@pm.me>"
  "Elsie19 <hwengerstickel@pm.me>"
)
backup=('usr/share/pacstall/repo/pacstallrepo' 'usr/share/pacstall/update')
source=("https://github.com/pacstall/pacstall/archive/refs/tags/${pkgver}.zip")

prepare() {
  cd "${pkgname}-${pkgver}"
  mkdir -p "${pkgdir}/usr/bin/"
  mkdir -p "${pkgdir}/usr/share/pacstall/scripts/"
  mkdir -p "${pkgdir}/usr/share/pacstall/repo/"
  mkdir -p "${pkgdir}/usr/share/man/man8/"
  mkdir -p "${pkgdir}/usr/share/man/man5/"
  mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
  mkdir -p "${pkgdir}/usr/share/fish/vendor_completions.d"
  mkdir -p "${pkgdir}/var/log/pacstall/error_log/"
  mkdir -p "${pkgdir}/var/lib/pacstall/metadata/"
  mkdir -p "${pkgdir}/var/cache/pacstall/"
  mkdir -p "${pkgdir}/usr/src/pacstall/"
  mapfile -t linguas <"misc/po/LINGUAS"
  for lang in "${linguas[@]}"; do
    mkdir -p "${pkgdir}/usr/share/locale/${lang}/LC_MESSAGES/"
  done
}

package() {
  cd "${pkgname}-${pkgver}"
  install -Dm755 pacstall "${pkgdir}/usr/bin/"
  install -Dm755 "misc/scripts"/* "${pkgdir}/usr/share/pacstall/scripts/"
  gzip -9n misc/man/pacstall.8
  gzip -9n misc/man/pacstall.5
  install "misc/man/pacstall.8.gz" "${pkgdir}/usr/share/man/man8/"
  install "misc/man/pacstall.5.gz" "${pkgdir}/usr/share/man/man5/"
  install "misc/completion/fish" "${pkgdir}/usr/share/fish/vendor_completions.d/pacstall.fish"
  install "misc/completion/bash" "${pkgdir}/usr/share/bash-completion/completions/pacstall"
  echo "https://raw.githubusercontent.com/pacstall/pacstall-programs/master" | tee "${pkgdir}/usr/share/pacstall/repo/pacstallrepo" > /dev/null
  mapfile -t linguas <"misc/po/LINGUAS"
  for lang in "${linguas[@]}"; do
    msgfmt -o "${pkgdir}/usr/share/locale/${lang}/LC_MESSAGES/pacstall.mo" "misc/po/${lang}.po"
  done
  rm -f "${pkgdir}/usr/share/scripts/update.sh"
}

PacandCheese

Don't miss a new pacstall release

NewReleases is sending notifications on new releases.