Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

VacuumMagic PKGBUILD sdl_perl-old

By: a guest on Jul 13th, 2011  |  syntax: None  |  size: 0.86 KB  |  hits: 40  |  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. # Contributor: Jesse Jaara <jesse.jaara@gmail.com>
  2. pkgname=vacuummagic
  3. pkgver=0.13a
  4. pkgrel=1
  5. pkgdesc="A fast-paced side-scrolling action game"
  6. arch=('i686' 'x86_64')
  7. url="http://apocalypse.rulez.org/vacuum/"
  8. license=('GPL')
  9. depends=('sdl_perl-old')
  10. source=(http://downloads.sf.net/vacuum/vacuum-$pkgver.tar.gz
  11.         vacuum.desktop)
  12. md5sums=('f5c9ff0a59ff947204df7dd2a6018523'
  13.          '1a4635545fad653e93c7909ff85bde3b')
  14.  
  15. build() {
  16.   cd "$srcdir"/vacuum-0.13
  17.   PERL5LIB="/opt/sdl_perl" ./configure --prefix=/usr || return 1
  18.   make || return 1
  19.   make DESTDIR="$pkgdir" install || return 1
  20.  
  21.   install -D -m644 "$srcdir"/vacuum.desktop \
  22.       "$pkgdir"/usr/share/applications/vacuum.desktop
  23.  
  24.   install -D -m644 "$srcdir"/vacuum-0.13/data/icon.png \
  25.         "$pkgdir"/usr/share/pixmaps/vacuum.png
  26.   sed -i '2iuse lib "/opt/sdl_perl";' "$pkgdir/usr/bin/vacuum"
  27. }