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

fheroes PKGBUILD

By: a guest on Apr 8th, 2012  |  syntax: None  |  size: 1.55 KB  |  views: 56  |  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: Mikael Eriksson <mikael_eriksson@miffe.org>
  2. # Revised: bwrsandman 2012-04-08
  3.  
  4. pkgname=fheroes2
  5. pkgver=2767
  6. pkgrel=1
  7. pkgdesc="Free implementation of Heroes of the Might and Magic II engine"
  8. arch=('i686' 'x86_64')
  9. url="http://sourceforge.net/apps/mediawiki/fheroes2/index.php?title=Main_Page"
  10. license=('GPL')
  11. depends=('sdl' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf' 'fheroes2-data')
  12. makedepends=('gettext')
  13. conflicts=('fheroes2-svn')
  14. source=(http://sourceforge.net/projects/fheroes2/files/fheroes2/fheroes2-20120301-linux-r2767.tar.gz
  15. http://fheroes2.svn.sourceforge.net/viewvc/fheroes2/trunk/fheroes2/image/fheroes2_32x32.png fheroes2.desktop
  16. fheroes2.sh)
  17. install=fheroes2.install
  18. md5sums=('830de22b2eb42b154372fe8ec029889c'
  19.                  '6dbdc606f587b1060639f3ec14908f2b'
  20.                  '0d52069db426be17ce9dbd5deb20d4fd'
  21.          'a39dd6625e7d1582c85087937e00f074')
  22.  
  23. build() {
  24.   cd "$srcdir"
  25.   tar xvfz fheroes2-20120301-linux-r2767.tar.gz
  26.   mv $srcdir/fheroes2/fheroes2.i{3,6}86
  27. }
  28.  
  29. package() {
  30.   install -Dm755 "$srcdir/fheroes2.sh" "$pkgdir/usr/bin/fheroes2"
  31.   install -Dm644 "$srcdir/fheroes2.desktop" "$pkgdir/usr/share/applications/fheroes2.desktop"
  32.   install -Dm644 "$srcdir/fheroes2_32x32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/fheroes2.png"
  33.   install -Dm755 "$srcdir/fheroes2/fheroes2.$(uname -m)" "$pkgdir/usr/share/fheroes2/fheroes2"
  34.   install -Dm644 "$srcdir/fheroes2/fheroes2.cfg" "$pkgdir/usr/share/fheroes2/fheroes2.cfg"
  35.   install -dm755 "$pkgdir/usr/share/fheroes2/data" "$pkgdir/usr/share/fheroes2/maps"
  36. }
  37.  
  38. # vim:set ts=2 sw=2 et:
clone this paste RAW Paste Data