PKGBUILD 794 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Maintainer: bzt <https://codeberg.org/tirnanog/player/issues>
  2. pkgname=tngp-git
  3. pkgver=0.0.1
  4. pkgrel=1
  5. pkgdesc="tngp is an application to play Adventure and Action RPG Games in the TirNanoG File Format"
  6. arch=('aarch64' 'x86_64')
  7. url="https://tirnanog.codeberg.page/player"
  8. license=('GPL3')
  9. depends=()
  10. makedepends=(make tar curl)
  11. optdepends=()
  12. provides=('tngp')
  13. conflicts=('tngp')
  14. _gitname=player
  15. build() {
  16. echo "Getting latest TirNanoG Player Source Code..."
  17. curl -L "https://codeberg.org/tirnanog/player/archive/main.tar.gz" --output $_gitname.tar.gz
  18. echo "Extracting $_gitname.tar.gz..."
  19. tar -xf $_gitname.tar.gz
  20. cd $_gitname/src
  21. echo "Building TirNanoG Player..."
  22. make clean all
  23. }
  24. package() {
  25. echo "Installing TirNanoG Player..."
  26. cd $_gitname/src
  27. INSTDIR=/usr make install
  28. }