This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

stormlib PKGBUILD

By: a guest on Dec 31st, 2011  |  syntax: None  |  size: 0.83 KB  |  views: 30  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: psychoreactorq <psychoreactorq@gmail.com>
  2. # Contributor: zarra <zarraxx@gmail.com>
  3. # Contributor: theluda <theluda@getmangos.com>
  4. pkgname=stormlib
  5. _pkgname=StormLib # Directory name in the ZIP file
  6. pkgver=8.04
  7. pkgrel=1
  8. pkgdesc="A pack of modules, written in C++, which are able to read and also to write files from/to the MPQ archives."
  9.  
  10. arch=('i686' 'x86_64')
  11. url="http://www.zezula.net/en/mpq/stormlib.html"
  12. license=('custom')
  13.  
  14. depends=('bzip2' 'zlib')
  15. makedepends=('cmake')
  16.  
  17. source=(http://www.zezula.net/download/${pkgname}.zip)
  18. md5sums=('d3ee51a98217101466f53b6cd91ca770')
  19.  
  20. build() {
  21.         mkdir "$srcdir/build"
  22.         cd "$srcdir/build"
  23.         cmake ../${_pkgname} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr || return 1
  24.         make || return 1
  25. }
  26.  
  27. package() {
  28.         cd "${srcdir}/build"
  29.         make DESTDIR=${pkgdir} install
  30. }
clone this paste RAW Paste Data