[arch-commits] Commit in sdcc/repos (4 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 20 13:00:48 EDT 2013


    Date: Monday, May 20, 2013 @ 19:00:47
  Author: spupykin
Revision: 91250

archrelease: copy trunk to community-i686, community-x86_64

Added:
  sdcc/repos/community-i686/PKGBUILD
    (from rev 91249, sdcc/trunk/PKGBUILD)
  sdcc/repos/community-x86_64/PKGBUILD
    (from rev 91249, sdcc/trunk/PKGBUILD)
Deleted:
  sdcc/repos/community-i686/PKGBUILD
  sdcc/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   88 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   34 -----------------
 community-x86_64/PKGBUILD |   34 -----------------
 3 files changed, 88 insertions(+), 68 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-20 17:00:26 UTC (rev 91249)
+++ community-i686/PKGBUILD	2013-05-20 17:00:47 UTC (rev 91250)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Jose Negron <josenj.arch at mailnull.net>
-
-pkgname=sdcc
-pkgver=3.2.0
-pkgrel=2
-pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('bash' 'gcc-libs' 'boost-libs')
-makedepends=('gputils' 'flex' 'bison' 'patch' 'boost')
-optdepends=('python')
-url="http://sdcc.sourceforge.net/"
-options=(!strip)
-source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2)
-md5sums=('0808a9b4109d2ba6046ddd7b679a0012')
-
-build() {
-  cd $srcdir/$pkgname
-  ./configure \
-	--prefix=/usr \
-	--includedir=/usr/include/sdcc \
-	--libdir=/usr/lib/sdcc
-  make
-  make install DESTDIR=$pkgdir
-
-  if [ -d $pkgdir/usr/lib/lib ]; then
-    mv $pkgdir/usr/lib/lib/* $pkgdir/usr/lib/sdcc/
-    rm -rf $pkgdir/usr/lib/lib
-  fi
-
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' $pkgdir/usr/bin/as2gbmap
-}

Copied: sdcc/repos/community-i686/PKGBUILD (from rev 91249, sdcc/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-20 17:00:47 UTC (rev 91250)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jose Negron <josenj.arch at mailnull.net>
+
+pkgname=sdcc
+pkgver=3.3.0
+pkgrel=1
+pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('bash' 'gcc-libs' 'boost-libs')
+makedepends=('gputils' 'flex' 'bison' 'patch' 'boost')
+optdepends=('python')
+url="http://sdcc.sourceforge.net/"
+options=(!strip)
+source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2)
+md5sums=('c7c6aa75415580795ecc4fd31948e5ba')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i 's|CC -E|CC -O2 -E|g' support/sdbinutils/libiberty/configure
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure \
+	--prefix=/usr \
+	--includedir=/usr/include/sdcc \
+	--libdir=/usr/lib/sdcc
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make install DESTDIR=$pkgdir
+
+  if [ -d $pkgdir/usr/lib/lib ]; then
+    mv $pkgdir/usr/lib/lib/* $pkgdir/usr/lib/sdcc/
+    rm -rf $pkgdir/usr/lib/lib
+  fi
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' $pkgdir/usr/bin/as2gbmap
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-20 17:00:26 UTC (rev 91249)
+++ community-x86_64/PKGBUILD	2013-05-20 17:00:47 UTC (rev 91250)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Jose Negron <josenj.arch at mailnull.net>
-
-pkgname=sdcc
-pkgver=3.2.0
-pkgrel=2
-pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('bash' 'gcc-libs' 'boost-libs')
-makedepends=('gputils' 'flex' 'bison' 'patch' 'boost')
-optdepends=('python')
-url="http://sdcc.sourceforge.net/"
-options=(!strip)
-source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2)
-md5sums=('0808a9b4109d2ba6046ddd7b679a0012')
-
-build() {
-  cd $srcdir/$pkgname
-  ./configure \
-	--prefix=/usr \
-	--includedir=/usr/include/sdcc \
-	--libdir=/usr/lib/sdcc
-  make
-  make install DESTDIR=$pkgdir
-
-  if [ -d $pkgdir/usr/lib/lib ]; then
-    mv $pkgdir/usr/lib/lib/* $pkgdir/usr/lib/sdcc/
-    rm -rf $pkgdir/usr/lib/lib
-  fi
-
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' $pkgdir/usr/bin/as2gbmap
-}

Copied: sdcc/repos/community-x86_64/PKGBUILD (from rev 91249, sdcc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-20 17:00:47 UTC (rev 91250)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jose Negron <josenj.arch at mailnull.net>
+
+pkgname=sdcc
+pkgver=3.3.0
+pkgrel=1
+pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('bash' 'gcc-libs' 'boost-libs')
+makedepends=('gputils' 'flex' 'bison' 'patch' 'boost')
+optdepends=('python')
+url="http://sdcc.sourceforge.net/"
+options=(!strip)
+source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2)
+md5sums=('c7c6aa75415580795ecc4fd31948e5ba')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i 's|CC -E|CC -O2 -E|g' support/sdbinutils/libiberty/configure
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure \
+	--prefix=/usr \
+	--includedir=/usr/include/sdcc \
+	--libdir=/usr/lib/sdcc
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make install DESTDIR=$pkgdir
+
+  if [ -d $pkgdir/usr/lib/lib ]; then
+    mv $pkgdir/usr/lib/lib/* $pkgdir/usr/lib/sdcc/
+    rm -rf $pkgdir/usr/lib/lib
+  fi
+
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' $pkgdir/usr/bin/as2gbmap
+}



More information about the arch-commits mailing list