--- PKGBUILD.old	2012-02-12 16:07:37.002477715 +0100
+++ PKGBUILD 2012-02-12 16:06:17.323148053 +0100
@@ -1,6 +1,6 @@
# Maintainer: spider-mario <[email protected]>
pkgname=csmith
-pkgver=2.0.0
+pkgver=2.1.0
pkgrel=3
pkgdesc="Tool for stress-testing compilers, static analyzers, and other tools that process C code"
arch=('i686' 'x86_64')
@@ -9,7 +9,7 @@
depends=('perl')
source=(csmith.sh http://embed.cs.utah.edu/csmith/$pkgname-$pkgver.tar.gz)
md5sums=('75128bd5310cbc1c139b696da3b8e4d8'
- 'ab0bee5da4d1c2b55c32789b716846cb')
+ '3170ce73f0347d82c1206cf145cb49c7')

build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -28,7 +28,7 @@
make DESTDIR="$pkgdir/" install

install runtime/safe_math{,_macros,_macros_notmp}.h "$pkgdir/usr/include/$pkgname-$pkgver/"
- rm "$pkgdir/usr/include/$pkgname-$pkgver/"safe_math{,_macros,_macros_notmp}.m4
+ rm "$pkgdir/usr/include/$pkgname-$pkgver/"safe_math{,_macros,_macros_notmp}.h

sed --expression=s/gcc-4.0/gcc/g scripts/compiler_test.in > "$pkgdir/usr/bin/compiler_test.in"