Skip to content

Commit

Permalink
ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
cerebrux committed Oct 2, 2020
1 parent f606534 commit 23066fa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ on:
- "v*"

jobs:
# Publish sysglance to AUR
aur_release:
aur-publish:
runs-on: ubuntu-latest
name: Create AUR release
#needs: github_release # The -bin version downloads and shasums it
steps:
- name: Build | Publish AUR package
uses: ATiltedTree/create-aur-release@v1
- uses: actions/checkout@v2

- name: Publish AUR package
uses: KSXGitHub/github-actions-deploy-aur@master
with:
package_name: sysglance
pkgname: sysglance
pkgbuild: ./pkgbuild/PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: Update AUR package
#commit_message: Update AUR package
ssh_keyscan_types: rsa,dsa,ecdsa,ed25519
commit_message: ${{ needs.create_release.outputs.release_tag }}
force_push: 'true'
13 changes: 13 additions & 0 deletions template/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Maintainer: Cerebrux <mail@cerebrux.net>
pkgdesc="Utility for collecting information about the hardware and the operating system by generating a simple report."
pkgrel=1
arch=('any')
url="https://github.com/Utappia/sysglance"
license=('GPL3')
depends=('pciutils' 'usbutils' 'util-linux' 'curl')

package() {
cd "$srcdir/sysglance-$pkgver"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm755 sysglance.sh "$pkgdir/usr/bin/sysglance"
}

0 comments on commit 23066fa

Please sign in to comment.