An AUR-inspired package manager for Ubuntu
GPL-3.0 License
Bot releases are visible (Hide)
Published by Elsie19 over 1 year ago
This update is a bugfix update for bugs present in 3.12.0 Lily found and reported by the community. Users can update from Pacstall 3.0.0 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
build_depends
during removal by @Henryws (#885)tput
in postscripts by @Henryws (#887)$PACKAGE
instead of $2
for trap_ctrlc()
by @Henryws (#889)tr
with pure bash by @Henryws (#890)tput
entirely by @Henryws (#893)... ]] && [[ ...
into one check by @Henryws (#886, #891)NORMAL
and replace with NC
by @Henryws (#892)name="pacstall"
version="3.12.1"
description="An AUR-inspired package manager for Ubuntu"
homepage='https://pacstall.dev'
depends=("bash" "curl" "wget" "unzip" "build-essential" "sensible-utils" "git")
optdepends=(
"axel: faster file downloads"
)
maintainer="Pacstall Team <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
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.
depends
, build_depends
, breaks
and replace
into arrays by @Henryws (#876, #882)[[ -eq ]]
to (( ))
by @Henryws (#879)awk
with sort -u
in completions by @Henryws (#880, 73034dd2)From now on, depends
, build_depends
, breaks
and replace
should be written as arrays. The old variable way is still supported, but encouraged to use the array syntax.
# Old
depends="foo bar"
build_depends="baz bizzle"
breaks="fooplus barplus"
replace="foo bar"
# New
depends=("foo" "bar")
build_depends=("baz" "bizzle")
breaks=("fooplus" "barplus")
replace=("foo" "bar")
name="pacstall"
version="3.12.0"
description="An AUR-inspired package manager for Ubuntu"
homepage='https://pacstall.dev'
depends=("bash" "curl" "wget" "unzip" "build-essential" "sensible-utils" "git")
optdepends=(
"axel: faster file downloads"
)
maintainer="Pacstall Team <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
This update is a bugfix update for bugs present in 3.11.0 Peachpuff found and reported by the community. Users can update from Pacstall 3.0.0 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
PACSTALL_PAYLOAD
by @wizard-28 (#872)name="pacstall"
version="3.11.1"
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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
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.
backup
array by @Henryws (#855)prompt_optdepends
more explicit by @Henryws (#861)backup
The backup
array is used to declare configuration files outside of /etc
(they are automatically included by dpkg). The syntax is the same as it's PKGBUILD counterpart with one special exception.
backup=(
'usr/share/pac.conf'
'r:usr/share/pacconfig.conf'
)
The r:
flag means that the file must be deleted on the next upgrade, which could be used for outdated configuration files^1
Simply make a multiline string like so:
description="Shows Linux System Information with Distribution Logo
Neofetch is a cross-platform and easy-to-use system information
command line script that collects your Linux system information
and display it on the terminal next to an image, it could be your
distributions logo or any ascii art of your choice."
Pacstall will automatically make a deb control file formatted entry as a long description. Blank lines are allowed.
name="pacstall"
version="3.11.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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
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.
homepage
property by @Henryws (#853)grep
entirely by @Henryws (#854)basename
entirely by @Henryws (#856)homepage
In your Pacscripts, you can specify a homepage variable like so:
homepage='https://www.mozilla.org/en-US/firefox'
name="pacstall"
version="3.10.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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
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.
PACSTALL_PAYLOAD
variable by @wizard-28 (#838)preinst
function by @Henryws (#842)pacdeps
to Depends
implicitly by @Henryws (#839, #846)select_options
works again by @Henryws (#841)optdepends
are Depends
by @Henryws (#843)CARCH
before sourcing by @Henryws (#848)curl
instead of wget
is used inside update.sh
by @Henryws (#840)PACSTALL_PAYLOAD
Warning
This feature only pertains topacup
, and should not be used unless you know what you're doing
You can pass an already downloaded url
to pacstall to skip the redownloading of said file with the environmental variable PACSTALL_PAYLOAD
:
PACSTALL_PAYLOAD=$PWD/neofetch-7.1.0.zip pacstall -I neofetch
When developing Pacstall, devs may wish to install their local copy of the pacstall repo rather than wait for a CDN to update before they can, so, inside a cloned pacstall repository, run pacstall -U .
. Note that you must pass the input .
, and not a path. If you wish to keep updating on that repo, you must continue to run pacstall -U .
as the repo retention is set to pacstall:master
.
preinst
functionNote
This is not run by Pacstall. This will be run while the deb is unpacking.
Some Pacscript maintainers may wish to add a function to be run before the deb is installed, which can now be accomplished with the preinst
function. It is written the same way as postinst
and removescript
.
name="pacstall"
version="3.9.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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
This update is a bugfix update for bugs present in 3.8.0 Citrine found and reported by the community. Users can update from Pacstall 3.0.0 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
SRCDIR
with sudo by @Henryws (#833)pacfile
to /tmp
by @Henryws (#834)name="pacstall"
version="3.8.1"
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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
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.
:
delimiter by @D-Brox (#818)Everything from Users.
SRCDIR
at the end of install, not every package install by @Henryws (#823)hash -r
by @Henryws (#826)/tmp/pacstall-up-{list,urls,print}
with mktemp
by @Henryws (#816)hashcheck
to remove sed command, quote variables by @Henryws (#819)SRCDIR
is created as the user, not with sudo by @Henryws (#824):
delimiterWhen updating to certain repos/branches, you can replace the space with a :
, however both styles will be allowed:
# Old
$ pacstall -U pacstall develop
# Alternative
$ pacstall -U pacstall:develop
name="pacstall"
version="3.8.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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
This update is a bugfix update for bugs present in 3.7.0 Malachite found and reported by the community. Users can update from Pacstall 3.0.0 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
SRCDIR
during upgrades by @Henryws (#809)name="pacstall"
version="3.7.1"
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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
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.
NO_COLOR
support by @Henryws (#803)Everything from Users
all
in favor of any
in arch
by @Henryws (#804)/tmp/pacstall
after cleanup
by @Henryws (#805)name="pacstall"
version="3.7.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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
This update is a hotfix update for bugs present in 3.6.0 Arctic found and reported by the community. Users can update from Pacstall 3.0.0 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
any
-> all
, export $CARCH
by @Henryws (#800)name="pacstall"
version="3.6.1"
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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
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.
arch
array by @Henryws (#793)pkgver
when checking compare_remote_version
by @Henryws (#796)tr
by @Henryws (#794)arch
arrayIf 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
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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
quiet-wget
to PACSTALL_DOWNLOADER
by @Henryws (#786)name="pacstall"
version="3.5.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 <[email protected]>"
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"/*
}
Published by Elsie19 over 1 year ago
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
PACSTALL_DOWNLOADER
variable to force set downloading tool by @Henryws (#780)-Qi
and fix showing $pkgdir
by @Henryws (#778)deb
pacdeps as auto by @Henryws (#779)dpkg-query
instead of dpkg -s
in query-info.sh
by @Henryws (#777)PACSTALL_DOWNLOADER
variableIf you wish to override the downloading tool used by Pacstall, you can set the PACSTALL_DOWNLOADER
variable to either axel
, wget
, or curl
like so:
PACSTALL_DOWNLOADER=axel pacstall -I emacs
#-------------#
export PACSTALL_DOWNLOADER=wget
pacstall -I emacs
#-------------#
PACSTALL_DOWNLOADER=curl pacstall -I emacs
name="pacstall"
version="3.4.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 <[email protected]>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/3.4.0.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"/*
}
Published by Elsie19 almost 2 years ago
This update is a hotfix update for bugs present in 3.3.0 Iris found and reported by the community. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
eval
~$USER
by @Henryws, reported by @Qussayyon (#774)name="pacstall"
version="3.3.1"
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 <[email protected]>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/develop.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"/*
}
Published by Elsie19 almost 2 years ago
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
pwd
to $PWD
by @Henryws (#770)build_depends
array internally by @Henryws (#768)optdepends
by @Henryws (#772)homedir
using ~$USER
bashism instead of /home/$USER
by @Henryws (#769)
Depends
and some not installed being added to Suggests
. They are all added to Suggests
now.Pacstall previously installed optional dependencies along with the created deb, leading to only optional dependencies that could be used after a package compilation working. Now you can specify any buildtime dependencies in optdepends
and they will be installed before the compilation/install.
Note
You may still have to check what packages are installed if the compilation requires passing flags to a build script to enable said features.
name="pacstall"
version="3.3.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 <[email protected]>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/develop.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"/*
}
Published by Elsie19 almost 2 years ago
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
nproc
during build by @Henryws (#756)-Il
flag deprecation notice by @Henryws (#761)-V
package version checker to use metadata file by @Henryws (#764)PACSTALL_BUILD_CORES
variableIf you wish to force a Pacscript utilizing the nproc
command to build with a different amount of cores, you may specify the PACSTALL_BUILD_CORES
variable like this:
PACSTALL_BUILD_CORES=3 pacstall -I emacs
# Or
export PACSTALL_BUILD_CORES=3
pacstall -I emacs
name="pacstall"
version="3.2.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 <[email protected]>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/develop.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"/*
}
Published by Elsie19 almost 2 years ago
This update is a hotfix update for bugs present in 3.1.0 Pearl found and reported by the community. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
clean_logdir
by @Henryws (#750)name="pacstall"
version="3.1.1"
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 <[email protected]>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/develop.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"/*
}
Published by Elsie19 almost 2 years ago
This update is a quality of life update focusing on important bug fixes and adding requested features. Users can update from Pacstall 1.6 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
epoch
variable by @Henryws (#720, #740)incompatible
array by @Henryws (#717)-B
are compressed with xz
by @Henryws (#729)PACSTALL_EDITOR
if editor cannot be found by @Henryws (#708)DEBIAN_FRONTEND
as noninteractive
on -P
flag by @Henryws (#713)gives
before name
when pinning package by @Henryws (#728)gives
is if it does not exist on Deb packages by @Henryws (#739)0$version
is the same as $remotever
without the leading 0
by @Henryws (#742)wait
to prevent some upgrades from failing to show by @Henryws (#746)grep
calls with bash comparisons by @Henryws (#709)epoch
variableIn your Pacscripts, if a package must forcefully be downgraded, you should include the variable epoch="num"
in your script. If left out, Pacstall will not take it into account during the version generation. If it is included, the version will end up looking like this: $epoch:$version
. An example would be if you had the version 1.0.0
, however an issue required you to force downgrade, you would specify epoch="1"
, version="0.9.0"
, and Pacstall will force downgrade. Use this feature sparingly.
incompatible
arrayThis array is used to prevent certain distros and versions from being able to run your script. This could be used for a variety of reasons, but the most common are missing or outdated dependencies on those distros (maybe make a Pacscript for those!). You may specify a glob (*
) for a catch all selection, or the full name. Codenames and version numbers are valid. Using a glob for both sides (*:*
) is invalid. The array takes a form like this:
# Disallow on Debian Stretch, any Ubuntu version, anything with the codename `jammy`, and anything with the version `17.04`
incompatible=('debian:stretch' 'debian:sid' 'ubuntu:*' '*:jammy' '*:17.04')
You can retrieve your distro name by running lsb_release -si 2>/dev/null | tr '[:upper:]' '[:lower:]'
.
To get the version name you can run lsb_release -sc 2>/dev/null | tr '[:upper:]' '[:lower:]'
.
Pacstall will now log the output of prepare
, build
, and install
to logs in /var/log/pacstall/error_log/$(date +"%Y-%m-%d_%T")-$name-$func.log
where $name
is the name of the package and $func
is the function currently running. Logs will be automatically deleted after 30 days.
xz
compresssion with -B
flagThis simply means that when you use the -B
flag to create a Deb, Pacstall will compress data.tar
and control.tar
with the xz
format, instead of gz
. Benchmarks are provided here.
name="pacstall"
version="3.1.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 <[email protected]>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/develop.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 -Dm 644 "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"/*
}
Published by Elsie19 almost 2 years ago
This update is a bugfix update for bugs present in 3.0.1 Zaffre found and reported by the community. Users can update from Pacstall 1.5.1 or higher with pacstall -U pacstall master
, or reinstall using the deb file.
makedeb
function not printing out proper package name by @Henryws (#690)-B
flag by @D-Brox (#701)cget
by @Henryws (#695)name="pacstall"
version="3.0.2"
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 <[email protected]>"
url="https://github.com/pacstall/pacstall/archive/refs/heads/develop.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"/*
}