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

nerolinux

By: a guest on Sep 11th, 2012  |  syntax: None  |  size: 1.07 KB  |  hits: 212  |  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: yugrotavele <yugrotavele at archlinux dot us>
  2.  
  3. pkgname=nerolinux
  4. pkgver=4.0.0.0
  5. _subver=b
  6. pkgrel=4
  7. pkgdesc="Nero Burning ROM for linux"
  8. url="http://www.nero.com/eng/linux4.html"
  9. license=('custom')
  10. depends=('gtk2')
  11. makedepends=('rpmextract')
  12. arch=('i686' 'x86_64')
  13. source=(http://www.archlinuxcn.org/download/$pkgname-$pkgver$_subver-x86.rpm)
  14. md5sums=('f49f49c588729c2afdbecb546d9b6041')
  15. install=nerolinux.install
  16.  
  17. [ "$CARCH" = "x86_64" ] && source=(http://www.archlinuxcn.org/download/$pkgname-$pkgver$_subver-x86_64.rpm)
  18. [ "$CARCH" = "x86_64" ] && md5sums=('f5b307c37e5623231e0a042ee43e018c')
  19.  
  20. package() {
  21.   cd "$pkgdir"
  22.  
  23.     if [ "$CARCH" = "x86_64" ]; then
  24.         rpmextract.sh $srcdir/$pkgname-$pkgver$_subver-x86_64.rpm
  25.         mv usr/lib64 usr/lib
  26.     else
  27.         rpmextract.sh $srcdir/$pkgname-$pkgver$_subver-x86.rpm
  28.     fi
  29.  
  30.     chmod a+rx -R *
  31.     find . -type f -exec chmod -x \{\} \;
  32.     chmod +x usr/bin/{nero,nerocmd,neroexpress}
  33.  
  34.     mkdir -p usr/share/licenses/nerolinux
  35.     mv usr/share/doc/nero/EULA* usr/share/licenses/nerolinux
  36. }