Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: pacup{-git} #5927

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,9 @@ pacget-git
paconvert-git
pacstall-gui-git
pacstall-qa-git
pacup
pacup-bin
pacup-git
panagement
pap
paper-icon-theme
Expand Down
35 changes: 35 additions & 0 deletions packages/pacup-git/pacup-git.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
pkgname="pacup-git"
gives="pacup"
pkgver="3.0.0"
pkgdesc="Help maintainers update pacscripts (next-gen Perl rewrite)"
depends=(
'libdata-compare-perl'
'libfile-chdir-perl'
'libipc-system-simple-perl'
'libjson-perl'
'libwww-perl'
'liblist-moreutils-perl'
'libterm-progressbar-perl'
)
replaces=(
"${gives}"
"${gives}.pl"
"${gives}.py"
"${gives}-bin"
"${gives}-git"
)
source=("https://github.com/pacstall/${gives}.git")
maintainer=(
'vigress8 <[email protected]>'
'Oren Klopfer <[email protected]>'
)

build() {
cd "${gives}"
perl Makefile.PL
make -j"${NCPU}"
}

package() {
make -C "${gives}" install DESTDIR="${pkgdir}"
}
34 changes: 34 additions & 0 deletions packages/pacup/pacup.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
pkgname="pacup"
pkgver="3.0.0"
pkgdesc="Help maintainers update pacscripts (next-gen Perl rewrite)"
depends=(
'libdata-compare-perl'
'libfile-chdir-perl'
'libipc-system-simple-perl'
'libjson-perl'
'libwww-perl'
'liblist-moreutils-perl'
'libterm-progressbar-perl'
)
replaces=(
"${pkgname}"
"${pkgname}.pl"
"${pkgname}.py"
"${pkgname}-bin"
"${pkgname}-git"
)
source=("https://github.com/pacstall/${pkgname}/archive/refs/tags/${pkgver}.zip")
maintainer=(
'vigress8 <[email protected]>'
'Oren Klopfer <[email protected]>'
)

build() {
cd "${pkgname}-${pkgver}"
perl Makefile.PL
make -j"${NCPU}"
}

package() {
make -C "${pkgname}-${pkgver}" install DESTDIR="${pkgdir}"
}
Loading