Guest User

wargus-2.4.1 PKGBUILD

a guest
Jul 23rd, 2017
576
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Thaodan <theodorstormgrade@gmail.com>
  2. # Contributor: Gene Ruebsamen <ruebsamen.gene@gmail.com>
  3.  
  4. pkgname=wargus
  5. pkgver=2.4.1
  6. pkgrel=1
  7. pkgdesc="Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine"
  8. arch=("i686" "x86_64")
  9. url="http://wargus.sourceforge.net/"
  10. license=('GPL')
  11. depends=( "stratagus=$pkgver" 'ffmpeg2theora' 'cdparanoia' 'timidity++' 'gtk2' 'tolua++' )
  12. source=("https://github.com/Wargus/wargus/archive/v${pkgver}.tar.gz")
  13. md5sums=('4a387868da26df4a4aebff19b6b7b6b1')
  14. install=wargus.install
  15.  
  16. build() {
  17. cd $srcdir/${pkgname}-${pkgver}
  18. mkdir -p build
  19. cd build
  20.  
  21. cmake .. -DCMAKE_BUILD_TYPE=Release \
  22. -DCMAKE_INSTALL_PREFIX=/usr -DGAMEDIR=/usr/bin
  23. make
  24. }
  25.  
  26. package() {
  27. cd $srcdir/${pkgname}-${pkgver}
  28. cd build
  29. make DESTDIR=${pkgdir} install
  30. }
RAW Paste Data