[arch-commits] Commit in sdcc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Thu Mar 5 13:28:06 UTC 2020
Date: Thursday, March 5, 2020 @ 13:28:06
Author: kkeen
Revision: 590709
archrelease: copy trunk to community-x86_64
Added:
sdcc/repos/community-x86_64/PKGBUILD
(from rev 590708, sdcc/trunk/PKGBUILD)
Deleted:
sdcc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-05 13:27:53 UTC (rev 590708)
+++ PKGBUILD 2020-03-05 13:28:06 UTC (rev 590709)
@@ -1,47 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jose Negron <josenj.arch at mailnull.net>
-
-pkgname=sdcc
-pkgver=3.9.0
-pkgrel=1
-pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
-arch=('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 staticlibs)
-source=(https://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-${pkgver//_/-}.tar.bz2)
-md5sums=('e50fc62cd9cdfa977af536dfd2d99351')
-
-# namcap claims boost-libs isn't needed, investigate this
-
-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 \
- --disable-werror
- 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"
-}
Copied: sdcc/repos/community-x86_64/PKGBUILD (from rev 590708, sdcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-05 13:28:06 UTC (rev 590709)
@@ -0,0 +1,47 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jose Negron <josenj.arch at mailnull.net>
+
+pkgname=sdcc
+pkgver=4.0.0
+pkgrel=1
+pkgdesc="Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)"
+arch=('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 staticlibs)
+source=(https://downloads.sourceforge.net/sourceforge/sdcc/$pkgname-src-${pkgver//_/-}.tar.bz2)
+md5sums=('eac8f83af265dca1f3e4c79abcd43c6c')
+
+# namcap claims boost-libs isn't needed, investigate this
+
+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 \
+ --disable-werror
+ 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