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

Untitled

By: a guest on Dec 13th, 2010  |  syntax: Bash  |  size: 0.86 KB  |  views: 113  |  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: Jaroslaw Rosiek <philosoph@interia.pl>
  2. pkgname=cc65
  3. pkgver=2.13.2
  4. pkgrel=1
  5. pkgdesc="C compiler for 6502 family microprocessors"
  6. depends=('glibc')
  7. arch=('i686' 'x86_64')
  8. license=('custom')
  9. url="http://www.cc65.org/"
  10.  
  11. source=( \
  12.     ftp://ftp.musoftware.de/pub/uz/cc65/cc65-sources-$pkgver.tar.bz2
  13.     patch-$pkgver.diff
  14.     license)
  15.  
  16. build() {
  17.     cd "${srcdir}/${pkgname}-${pkgver}/"
  18.     patch -p1 -i ../patch-$pkgver.diff
  19.    
  20.     make -f make/gcc.mak
  21. }
  22.  
  23. package() {
  24.     cd "${srcdir}/${pkgname}-${pkgver}/"
  25.  
  26.     make -f make/gcc.mak DEST_DIR="${pkgdir}" install
  27.  
  28.     mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}/"
  29.     cp "${srcdir}/license" "${pkgdir}/usr/share/licenses/${pkgname}/"
  30. }
  31.  
  32. md5sums=('cbf9e25db21002371222ae025a6a1850'
  33.          '7847d388e8b128ed2fb5025ef199956d'
  34.          '8319a72050fb79daf7e1b2bcf5a9e69d')
clone this paste RAW Paste Data