[arch-commits] Commit in tcc/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Thu Mar 31 11:26:25 UTC 2016
Date: Thursday, March 31, 2016 @ 13:26:25
Author: spupykin
Revision: 169068
upgpkg: tcc 0.9.26-3
upd
Modified:
tcc/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++----------------
1 file changed, 8 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-03-31 11:26:14 UTC (rev 169067)
+++ PKGBUILD 2016-03-31 11:26:25 UTC (rev 169068)
@@ -7,30 +7,22 @@
pkgname=tcc
pkgver=0.9.26
-pkgrel=2
+pkgrel=3
+_commit=80343ab7d829c21c65f8f9a14dd20158d028549f
pkgdesc="Tiny C Compiler"
arch=('i686' 'x86_64')
url="http://bellard.org/tcc/"
license=('LGPL')
-makedepends=('gcc')
+makedepends=('gcc' 'git')
options=('docs' 'staticlibs')
-source=(http://download.savannah.nongnu.org/releases/tinycc/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('5fb28e4abc830c46a7f54c1f637fb25d')
+#source=(http://download.savannah.nongnu.org/releases/tinycc/${pkgname}-${pkgver}.tar.bz2)
+source=("$pkgname-$pkgver::git://repo.or.cz/tinycc.git#commit=${_commit}")
+md5sums=('SKIP')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-
- # sed fixes from Gentoo ebuild, cheers!
- # Don't strip
- sed -i -e 's|$(INSTALL) -s|$(INSTALL)|' Makefile
-
- # Fix examples
- sed -i -e '1{
- i#! /usr/bin/tcc -run
- /^#!/d
- }' examples/ex*.c
- sed -i -e '1s/$/ -lX11/' examples/ex4.c
-
+ unset CFLAGS
+ unset LDFLAGS
./configure --prefix=/usr
make
}
More information about the arch-commits
mailing list