From f7a2d532812d7e3f9a36fde6a052319ef403e86c Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Sat, 28 Dec 2024 21:40:57 -0500 Subject: [PATCH] add: `pacstall` (#6795) Co-authored-by: ook37 Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- packagelist | 1 + packages/pacstall/.SRCINFO | 35 ++++++++++++ packages/pacstall/pacstall.pacscript | 80 ++++++++++++++++++++++++++++ srclist | 36 +++++++++++++ 4 files changed, 152 insertions(+) create mode 100644 packages/pacstall/.SRCINFO create mode 100644 packages/pacstall/pacstall.pacscript diff --git a/packagelist b/packagelist index 58a317d62a..9827d7a0aa 100644 --- a/packagelist +++ b/packagelist @@ -411,6 +411,7 @@ owofetch p3x-onenote-app pacget-git paconvert-git +pacstall pacstall-gui-git pacstall-qa-git pacup diff --git a/packages/pacstall/.SRCINFO b/packages/pacstall/.SRCINFO new file mode 100644 index 0000000000..7faaadc438 --- /dev/null +++ b/packages/pacstall/.SRCINFO @@ -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 + maintainer = Elsie19 + source = https://github.com/pacstall/pacstall/archive/refs/tags/6.0.0.zip + +pkgname = pacstall diff --git a/packages/pacstall/pacstall.pacscript b/packages/pacstall/pacstall.pacscript new file mode 100644 index 0000000000..33c548080b --- /dev/null +++ b/packages/pacstall/pacstall.pacscript @@ -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 " + "Elsie19 " +) +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" +} diff --git a/srclist b/srclist index 5bff746ebc..2887d7974f 100644 --- a/srclist +++ b/srclist @@ -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 + maintainer = Elsie19 + source = https://github.com/pacstall/pacstall/archive/refs/tags/6.0.0.zip + +pkgname = pacstall +--- pkgbase = pacup-git gives = pacup pkgver = 3.3.7