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

advancecomp PKGBUILD

By: a guest on Sep 25th, 2010  |  syntax: Bash  |  size: 1.05 KB  |  views: 148  |  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. pkgname=advancecomp
  2. pkgver=1.15
  3. pkgrel=1
  4. pkgdesc="Intended for recompressing your rom, snapshot and clip collection of MAME, MESS and AdvanceMAME games."
  5. arch=('i686' 'x86_64')
  6. url="http://advancemame.sourceforge.net"
  7. depends=('advancescan')
  8. license=('GPL')
  9. source=(http://downloads.sourceforge.net/sourceforge/advancemame/$pkgname-$pkgver.tar.gz)
  10. md5sums=('bb236d8bee6fa473d34108cda1e09076')
  11.  
  12. build() {
  13.     cd $startdir/src/$pkgname-$pkgver
  14.     ./configure --prefix=/usr || return 1
  15.     make || return 1
  16.  
  17.     # Binaries
  18.     install -D -m755 advdef $startdir/pkg/usr/bin/advdef
  19.     install -D -m755 advmng $startdir/pkg/usr/bin/advmng
  20.     install -D -m755 advpng $startdir/pkg/usr/bin/advpng
  21.     install -D -m755 advzip $startdir/pkg/usr/bin/advzip
  22.  
  23.     # Man pages
  24.     install -D -m644 doc/advdef.1 $startdir/pkg/usr/man/man1/advdef.1
  25.     install -D -m644 doc/advmng.1 $startdir/pkg/usr/man/man1/advmng.1
  26.     install -D -m644 doc/advpng.1 $startdir/pkg/usr/man/man1/advpng.1
  27.     install -D -m644 doc/advzip.1 $startdir/pkg/usr/man/man1/advzip.1
  28. }
clone this paste RAW Paste Data