diff --git a/packagelist b/packagelist index 62c6bbe027..354c59047c 100644 --- a/packagelist +++ b/packagelist @@ -298,6 +298,7 @@ owofetch pacget-git paconvert-git pacstall-gui-git +pacstall-qa-git pacup-bin panagement pap diff --git a/packages/pacstall-qa-git/pacstall-qa-git.pacscript b/packages/pacstall-qa-git/pacstall-qa-git.pacscript new file mode 100644 index 0000000000..47a4b44bc5 --- /dev/null +++ b/packages/pacstall-qa-git/pacstall-qa-git.pacscript @@ -0,0 +1,20 @@ +name="pacstall-qa-git" +url="https://github.com/pacstall/pacstall-qa" +pkgver="0.0.1" +gives="pacstall-qa" +makedepends=("make") +pacdeps=("nushell-bin") +pkgdesc="A tool to easily test pacscripts from PRs locally" +maintainer="Oren Klopfer " +pkgver() { + git ls-remote "${url}" master | cut -f1 | cut -c1-8 +} + +build() { + sudo mkdir -p "${pkgdir}/usr/bin" + sudo mkdir -p "${pkgdir}/usr/share/pacstall-qa" +} + +package() { + sudo DESTDIR="${pkgdir}" make install +}