From anonymous, 2 Months ago, written in Bash.
Embed
  1.  
  2. pkgname=chrysalis-bin
  3. _pkgname=${pkgname%-bin}
  4. pkgdesc="Graphical configurator for Kaleidoscope-powered keyboards (AppImage)"
  5. pkgver=0.11.3
  6. pkgrel=1
  7. arch=(x86_64)
  8. url="https://github.com/keyboardio/${_pkgname^}"
  9. license=(GPL3)
  10. depends=(fuse2)
  11. provides=("$_pkgname")
  12. conflicts=("$_pkgname")
  13. options=(!strip)
  14. source=("$url/releases/download/v$pkgver/${_pkgname^}-$pkgver.AppImage")
  15. sha256sums=('374335959bcf2804fe5176609faf03683ba9cd726ea5c384d3a805c4a3fa5b4a')
  16.  
  17. package() {
  18.         install -Dm0755 "${_pkgname^}-$pkgver.AppImage" "$pkgdir/usr/bin/$_pkgname"
  19. }