Skip to content

Commit

Permalink
add: pacstall (#6795)
Browse files Browse the repository at this point in the history
Co-authored-by: ook37 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 29, 2024
1 parent dab28c1 commit f7a2d53
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ owofetch
p3x-onenote-app
pacget-git
paconvert-git
pacstall
pacstall-gui-git
pacstall-qa-git
pacup
Expand Down
35 changes: 35 additions & 0 deletions packages/pacstall/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
pkgbase = pacstall
pkgver = 6.0.0
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
arch = all
depends = bash
depends = curl
depends = wget
depends = git
depends = unzip
depends = zstd
depends = tar
depends = gzip
depends = sensible-utils
depends = iputils-ping
depends = lsb-release
depends = aptitude
depends = bubblewrap
depends = build-essential
depends = jq
depends = distro-info-data
depends = gettext
makedepends = gettext
makedepends = gzip
recommends = axel
recommends = ninja-build
recommends = meson
recommends = spdx-licenses
backup = usr/share/pacstall/repo/pacstallrepo
backup = usr/share/pacstall/update
maintainer = Pacstall Team <[email protected]>
maintainer = Elsie19 <[email protected]>
source = https://github.com/pacstall/pacstall/archive/refs/tags/6.0.0.zip

pkgname = pacstall
80 changes: 80 additions & 0 deletions packages/pacstall/pacstall.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
pkgname="pacstall"
pkgver="6.0.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 <[email protected]>"
"Elsie19 <[email protected]>"
)
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"
}
36 changes: 36 additions & 0 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -8302,6 +8302,42 @@ pkgbase = pacstall-qa-git

pkgname = pacstall-qa-git
---
pkgbase = pacstall
pkgver = 6.0.0
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
arch = all
depends = bash
depends = curl
depends = wget
depends = git
depends = unzip
depends = zstd
depends = tar
depends = gzip
depends = sensible-utils
depends = iputils-ping
depends = lsb-release
depends = aptitude
depends = bubblewrap
depends = build-essential
depends = jq
depends = distro-info-data
depends = gettext
makedepends = gettext
makedepends = gzip
recommends = axel
recommends = ninja-build
recommends = meson
recommends = spdx-licenses
backup = usr/share/pacstall/repo/pacstallrepo
backup = usr/share/pacstall/update
maintainer = Pacstall Team <[email protected]>
maintainer = Elsie19 <[email protected]>
source = https://github.com/pacstall/pacstall/archive/refs/tags/6.0.0.zip

pkgname = pacstall
---
pkgbase = pacup-git
gives = pacup
pkgver = 3.3.7
Expand Down

0 comments on commit f7a2d53

Please sign in to comment.