Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

PKGBUILD for thbutterflyeffect

By: a guest on Jun 21st, 2010  |  syntax: None  |  size: 1.04 KB  |  hits: 153  |  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: Frosthammer <frosthammer@frosthammer.de>
  2.  
  3. pkgname=thebutterflyeffect
  4. pkgver=m7
  5. pkgrel=1
  6. pkgdesc="A logic game in the style of The Incredible Machine"
  7. arch=('i686' 'x86_64')
  8. url="http://sourceforge.net/apps/trac/tbe/wiki/WikiStart"
  9. license=('GPL')
  10. depends=('qt')
  11. source=(http://sourceforge.net/projects/tbe/files/Milestone%207/TheButterflyEffect-M7.src.tgz
  12.         thebutterflyeffect.desktop
  13.         thebutterflyeffect.sh)
  14. md5sums=('538bb01e4a1fe04b1e22a02ef3568ed3'
  15.          'ac1e8c092f3c50773f029f9b8818fe03'
  16.          '33c1191f0949cff9eeb19fd066d25c5a')
  17.  
  18. build() {
  19.   cd $srcdir/TheButterflyEffect-M7
  20.   ./configure --prefix=/usr
  21.   make || return 1
  22. }
  23.  
  24. package() {
  25.   cd ${srcdir}/TheButterflyEffect-M7
  26.   install -Dm 755 tbe $pkgdir/usr/share/thebutterflyeffect/tbe
  27.   install -Dm 755 $srcdir/thebutterflyeffect.sh $pkgdir/usr/bin/thebutterflyeffect
  28.   cp -r {levels,images} $pkgdir/usr/share/thebutterflyeffect/
  29.   install -Dm 644 $srcdir/thebutterflyeffect.desktop $pkgdir/usr/share/applications/thebutterflyeffect.desktop
  30. }