github pacstall/pacstall 3.6.0
3.6.0 Arctic

latest releases: 5.0.0, 4.3.2, 4.3.1...
14 months ago

⚠️ Use 3.6.1 Permafrost ⚠️


Pacstall v3.6.0 Arctic Arctic

This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 3.0.0 or higher with pacstall -U pacstall master, or reinstall using the deb file.

Developers, Developers, Developers...

Features

Bug fixes

  • Remove tmp pacdep file after completion by @Henryws (#795)
  • Unset pkgver when checking compare_remote_version by @Henryws (#796)

Performance changes

  • Use native find and replace functionality in bash instead of tr by @Henryws (#794)

How to use new features

arch array

If you want to allow installation on certain architectures, you can set the arch array to any architecture supported by dpkg --print-architecture:

arch=('amd64') # Will work **only** on `amd64` platforms
arch=('arm64') # Will work **only** on `arm64` platforms
arch=('amd64') # Will work **only** on `amd64` platforms
arch=('amd64' 'arm64') # Will work **only** on `amd64` *and* `arm64` platforms

If you want to allow installation on any architecture, then don't include arch, or specify arch=('all') to be explicit. The variable CARCH is now available to Pacscripts to use, for instance if there are different downloads for different architectures:

...
case "${CARCH}" in
    amd64)
        url="https://foo.com/x86_64/fizzbuzz.tar.gz"
        sha256sum="..."
        ;;
    arm64)
        url="https://foo.com/arm64/fizzbuzz.tar.gz"
       sha256sum="..."
       ;;
    *)
       echo -e "This pacscript does not work on ${CARCH}"
       exit 1
       ;;
esac

Pacscript for this releases Deb
name="pacstall"
version="3.6.0"
description="An AUR-inspired package manager for Ubuntu"
depends="bash curl wget unzip build-essential sensible-utils git"
optdepends=(
	"axel: faster file downloads"
)
maintainer="Pacstall Team <pacstall@pm.me>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/${version}.zip"

prepare() {
	sudo mkdir -p "${pkgdir}/usr/bin/"
	sudo mkdir -p "${pkgdir}/usr/share/pacstall/scripts/"
	sudo mkdir -p "${pkgdir}/usr/share/pacstall/repo/"
	sudo mkdir -p "${pkgdir}/usr/share/man/man8/"
	sudo mkdir -p "${pkgdir}/var/log/pacstall/error_log/"
}

install() {
	sudo install -Dm 755 pacstall "${pkgdir}/usr/bin/"
	sudo install -C "misc/scripts"/* "${pkgdir}/usr/share/pacstall/scripts/"
	sudo install "misc/pacstall.8.gz" "${pkgdir}/usr/share/man/man8/"
	echo "https://raw.githubusercontent.com/pacstall/pacstall-programs/master" | sudo tee "${pkgdir}/usr/share/pacstall/repo/pacstallrepo.txt" >/dev/null
	sudo chmod +x "${pkgdir}/usr/share/pacstall/scripts"/*
}

Don't miss a new pacstall release

NewReleases is sending notifications on new releases.