PKGBUILD 695 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Maintainer: bzt <https://gitlab.com/bztsrc/meg4/issues>
  2. pkgname=meg4-git
  3. pkgver=0.0.1
  4. pkgrel=1
  5. pkgdesc="MEG-4 is a virtual fantasy console"
  6. arch=('x86_64')
  7. url="https://bztsrc.gitlab.io/meg4"
  8. license=('GPL3')
  9. depends=()
  10. makedepends=(make tar curl)
  11. optdepends=()
  12. provides=('meg4')
  13. conflicts=('meg4')
  14. _gitname=meg4
  15. build() {
  16. echo "Getting latest MEG-4 Source Code..."
  17. curl -L "https://gitlab.com/bztsrc/meg4/archive/main.tar.gz" --output $_gitname.tar.gz
  18. echo "Extracting $_gitname.tar.gz..."
  19. tar -xf $_gitname.tar.gz
  20. cd $_gitname/platform/sdl
  21. echo "Building MEG-4..."
  22. make clean all
  23. }
  24. package() {
  25. echo "Installing MEG-4..."
  26. cd $_gitname/platform/sdl
  27. INSTDIR=/usr make install
  28. }