[arch-commits] Commit in sdcc/trunk (PKGBUILD)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 20 17:00:26 UTC 2013


    Date: Monday, May 20, 2013 @ 19:00:26
  Author: spupykin
Revision: 91249

upgpkg: sdcc 3.3.0-1

upd

Modified:
  sdcc/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-20 14:50:52 UTC (rev 91248)
+++ PKGBUILD	2013-05-20 17:00:26 UTC (rev 91249)
@@ -3,8 +3,8 @@
 # Maintainer: Jose Negron <josenj.arch at mailnull.net>
 
 pkgname=sdcc
-pkgver=3.2.0
-pkgrel=2
+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')
@@ -14,10 +14,15 @@
 url="http://sdcc.sourceforge.net/"
 options=(!strip)
 source=(http://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-$pkgver.tar.bz2)
-md5sums=('0808a9b4109d2ba6046ddd7b679a0012')
+md5sums=('c7c6aa75415580795ecc4fd31948e5ba')
 
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  sed -i 's|CC -E|CC -O2 -E|g' support/sdbinutils/libiberty/configure
+}
+
 build() {
-  cd $srcdir/$pkgname
+  cd $srcdir/$pkgname-$pkgver
   ./configure \
 	--prefix=/usr \
 	--includedir=/usr/include/sdcc \
@@ -26,7 +31,7 @@
 }
 
 package() {
-  cd $srcdir/$pkgname
+  cd $srcdir/$pkgname-$pkgver
 
   make install DESTDIR=$pkgdir
 




More information about the arch-commits mailing list