diff options
Diffstat (limited to 'community-testing/sdcc/PKGBUILD')
-rw-r--r-- | community-testing/sdcc/PKGBUILD | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/community-testing/sdcc/PKGBUILD b/community-testing/sdcc/PKGBUILD deleted file mode 100644 index 378727faa..000000000 --- a/community-testing/sdcc/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# $Id: PKGBUILD 78121 2012-10-16 11:54:21Z allan $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> -# Maintainer: Jose Negron <josenj.arch@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 -} |