summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjerry732042015-12-09 00:20:44 +0800
committerjerry732042015-12-09 00:21:55 +0800
commit7b34f553635ae76eded3e9f28a7289f65bf31519 (patch)
tree9944c2e0f6e0558734dfe128a1b78e19b4a0fa9e
parent30c3397349eb9d053a661f4c86072ffec5c23cb1 (diff)
downloadaur-7b34f553635ae76eded3e9f28a7289f65bf31519.tar.gz
Updated to 2.2.0-1. Now PKGBUILD does not copy source files to /opt
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD36
2 files changed, 18 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86be96e3c54..02a7f00a81c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Tue Dec 8 16:02:56 UTC 2015
+# Tue Dec 8 16:19:58 UTC 2015
pkgbase = csmith
pkgdesc = Tool for stress-testing compilers, static analyzers, and other tools that process C code
- pkgver = 2.1.0
+ pkgver = 2.2.0
pkgrel = 1
url = http://embed.cs.utah.edu/csmith/
arch = i686
@@ -10,9 +10,9 @@ pkgbase = csmith
license = custom:BSD
depends = perl
source = csmith.sh
- source = http://embed.cs.utah.edu/csmith/csmith-2.1.0.tar.gz
+ source = https://embed.cs.utah.edu/csmith/csmith-2.2.0.tar.gz
md5sums = 75128bd5310cbc1c139b696da3b8e4d8
- md5sums = 3170ce73f0347d82c1206cf145cb49c7
+ md5sums = 05682b96f6607b00426d42718b9c2fd6
pkgname = csmith
diff --git a/PKGBUILD b/PKGBUILD
index 2485847dc8b..5abe4b4c009 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,47 +1,39 @@
-# Maintainer: spider-mario <spidermario@free.fr>
+# Maintainer: jerry73204 <jerry73204@gmail.com>
+# Previous maintainer: spider-mario <spidermario@free.fr>
pkgname=csmith
-pkgver=2.1.0
+pkgver=2.2.0
pkgrel=1
pkgdesc="Tool for stress-testing compilers, static analyzers, and other tools that process C code"
arch=('i686' 'x86_64')
url="http://embed.cs.utah.edu/csmith/"
license=('custom:BSD')
depends=('perl')
-source=(csmith.sh http://embed.cs.utah.edu/csmith/$pkgname-$pkgver.tar.gz)
+source=(csmith.sh
+ "https://embed.cs.utah.edu/csmith/${pkgname}-${pkgver}.tar.gz")
md5sums=('75128bd5310cbc1c139b696da3b8e4d8'
- '3170ce73f0347d82c1206cf145cb49c7')
+ '05682b96f6607b00426d42718b9c2fd6')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
check() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
make -k check
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir/" install
+ 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}.h
+ install --directory "${pkgdir}/etc/profile.d/"
+ install ../../csmith.sh "${pkgdir}/etc/profile.d/"
- sed --expression=s/gcc-4.0/gcc/g scripts/compiler_test.in > "$pkgdir/usr/bin/compiler_test.in"
-
- install --directory "$pkgdir/opt/"
- pushd "$pkgdir/opt/"
- cp --recursive "$srcdir/$pkgname-$pkgver/" "$pkgdir/opt/$pkgname"
- popd
-
- install --directory "$pkgdir/etc/profile.d/"
- install ../../csmith.sh "$pkgdir/etc/profile.d/"
-
- install --directory "$pkgdir/usr/share/licenses/$pkgname/"
- install COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install --directory "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: