Skip to content

Commit

Permalink
add: pacstall-qa (#4674)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
oklopfer and pre-commit-ci[bot] authored Oct 17, 2023
1 parent f9842e2 commit 090c82e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ owofetch
pacget-git
paconvert-git
pacstall-gui-git
pacstall-qa-git
pacup-bin
panagement
pap
Expand Down
20 changes: 20 additions & 0 deletions packages/pacstall-qa-git/pacstall-qa-git.pacscript
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
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
}

0 comments on commit 090c82e

Please sign in to comment.