You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 following variables can be overridden in split package functions: gives, pkgdesc, arch, url, license, depends, optdepends, pacdeps, provides, conflicts, breaks, replaces, enhances, recommends, priority, backup, repology
Inside the pacstall-programs repository, .SRCINFO generation is now required to be done beforepackagelist generation. Both are handled by ./scripts/srcinfo.sh:
./scripts/srcinfo.sh write packages/pkgname/pkgname.pacscript
# generates .SRCINFO to packages/pkgname/.SRCINFO# OR
list=($(ls packages/*/*.pacscript))
./scripts/srcinfo.sh write "${list[@]}"# does it for the whole repo
./scripts/srcinfo.sh check
# checks if SRCINFOs exists for files and is tracked by git, for preventing merges without one# can be run on individual files or array of files, assumes every file if none passed
./scripts/srcinfo.sh packagelist
# must be run from the head of the repository, updates the packagelist
All .SRCINFO files now declare pkgbase at the top
If a pacscript does not include pkgbase
pkgbase in .SRCINFO will default to the pkgname
packagelist entry is same as before
If a pacscript does include pkgbase, then the packagelist entries are split up like:
This can of course also be done by hand, but either way is required for pacstall to handle pkgbase split packages.
They can then be called to install with any of the following:
pacstall -I rhino-pkg-git # same as with :pkgbase
pacstall -I rhino-pkg-git:pkgbase # prompts which to install
pacstall -I rhino-pkg-git:rpk-git # auto-selects only rpk-git split package
pacstall -I rhino-pkg-git:rhino-pkg-git # auto-selects only rhino-pkg-git split package
if using -Qa, this must be done without any :extensions:
pacstall -Qa "${pkgbase}#6143"# prompts which to install, will do all if none selected
pacstall -Qa rhino-pkg-git#1153 # as an example
Once installed on the system, you call split packages without their parent:
pacstall -Qi rpk-git
pacstall -R rpk-git
parent distros
the following distro examples are described with the combination child:codename/num|parent:codename/num:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Pacstall v5.3.0 Phthalo
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.Developers, Developers, Developers...
Features
pkgbase
splitting by @oklopfer (feat(*): allowpkgbase
splitting #1153)Bug Fixes
replaces
check beforebreaks
/conflicts
by @oklopfer (fix(package.sh): runreplaces
check beforebreaks
/conflicts
#1146)-Qa
with packages that have a.
by @oklopfer (fix(pacstall): fix-Qa
with packages that have a.
#1148)chown
with a group by @oklopfer (fix({fetch-sources,upgrade}.sh): don'tchown
with a group #1149)stacktrace
and saferm
s, pretty deps prompt by @oklopfer (refactor(*):stacktrace
and saferm
s #1156)provides
by @oklopfer (fix(build.sh): always log at least oneprovides
#1165)Bugs
deb-logging by @Elsie19 (feat: addbugs
variable #1167).tar.bz
/.tbz
without the2
by @oklopfer (fix({fetch-sources,package}.sh): decompress.tar.bz
/.tbz
without the2
#1170)/tmp/pacstall-no-build
with-K
by @oklopfer (fix(build.sh): only make/tmp/pacstall-no-build
with-K
#1174)For the Pacscript Maintainers
How to use the new features
pkgbase
splittingLike in the AUR, pacscripts can now build multiple packages:
The following variables can be overridden in split package functions:
gives
,pkgdesc
,arch
,url
,license
,depends
,optdepends
,pacdeps
,provides
,conflicts
,breaks
,replaces
,enhances
,recommends
,priority
,backup
,repology
Inside the pacstall-programs repository,
.SRCINFO
generation is now required to be done beforepackagelist
generation. Both are handled by./scripts/srcinfo.sh
:.SRCINFO
files now declarepkgbase
at the toppkgbase
pkgbase
in.SRCINFO
will default to thepkgname
packagelist
entry is same as beforepkgbase
, then thepackagelist
entries are split up like:so for the example in #1153, our entries become:
This can of course also be done by hand, but either way is required for
pacstall
to handlepkgbase
split packages.They can then be called to install with any of the following:
if using -Qa, this must be done without any
:extensions
:Once installed on the system, you call split packages without their parent:
parent distros
the following distro examples are described with the combination
child:codename/num|parent:codename/num
:for each of these, the new variable
CDISTRO
is:and
DISTRO
is:Important
enhanced arrays use the
DISTRO
variable.Pacscript for this releases Deb
This discussion was created from the release 5.3.0 Phthalo.
Beta Was this translation helpful? Give feedback.
All reactions