diff --git a/packagelist b/packagelist index cca12c9814..b9d4332b78 100644 --- a/packagelist +++ b/packagelist @@ -341,7 +341,9 @@ pacget-git paconvert-git pacstall-gui-git pacstall-qa-git +pacup pacup-bin +pacup-git panagement pap paper-icon-theme diff --git a/packages/pacup-git/pacup-git.pacscript b/packages/pacup-git/pacup-git.pacscript new file mode 100644 index 0000000000..c0899d4ec5 --- /dev/null +++ b/packages/pacup-git/pacup-git.pacscript @@ -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 ' + 'Oren Klopfer ' +) + +build() { + cd "${gives}" + perl Makefile.PL + make -j"${NCPU}" +} + +package() { + make -C "${gives}" install DESTDIR="${pkgdir}" +} diff --git a/packages/pacup/pacup.pacscript b/packages/pacup/pacup.pacscript new file mode 100644 index 0000000000..d34c53c8b7 --- /dev/null +++ b/packages/pacup/pacup.pacscript @@ -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 ' + 'Oren Klopfer ' +) + +build() { + cd "${pkgname}-${pkgver}" + perl Makefile.PL + make -j"${NCPU}" +} + +package() { + make -C "${pkgname}-${pkgver}" install DESTDIR="${pkgdir}" +}