You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1KB

  1. pkgname=quakespasm
  2. pkgver=0.93.1
  3. pkgrel=1
  4. pkgdesc="A modern Quake 1 engine. Forked from Fitzquake. Stable version with optional Mission pack desktop files."
  5. arch=('i686' 'x86_64')
  6. url="http://quakespasm.sourceforge.net"
  7. license=('GPL2')
  8. depends=('libvorbis' 'libmad' 'flac' 'opusfile' 'libmikmod' 'sdl2')
  9. conflicts=('quakespasm-svn')
  10. install=$pkgname.install
  11. source=(https://sourceforge.net/projects/quakespasm/files/Source/$pkgname-$pkgver.tgz
  12. $pkgname.desktop)
  13. sha1sums=('aca08d7bea6085bc7b755fad1e83ef976b542c1e'
  14. 'ce21ed7299b5732953bde6e1d9ed073cb21e5d47')
  15. build() {
  16. cd "$srcdir/$pkgname-$pkgver/Quake/"
  17. make \
  18. DO_USERDIRS=1 \
  19. USE_SDL2=1 \
  20. USE_CODEC_FLAC=1 \
  21. USE_CODEC_OPUS=1 \
  22. USE_CODEC_MIKMOD=1 \
  23. USE_CODEC_UMX=1
  24. }
  25. package() {
  26. cd "$srcdir/$pkgname-$pkgver/Quake/"
  27. install -Dm755 quakespasm "$pkgdir"/usr/bin/$pkgname
  28. for i in 16 24 32 48 64 72; do
  29. install -Dm644 $srcdir/$pkgname-$pkgver/Misc/QuakeSpasm_512.png $pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/quakespasm.png
  30. done
  31. install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
  32. }