4 pkgdesc="Wrapper for GCC to reliably build hardened packages. Modified hardening script as used in Ubuntu/Debian"
7 url='https://wiki.ubuntu.com/Security/HardeningWrapper'
8 depends=('dash>=0.5.7')
9 source=('hgcc' "$pkgname.install")
10 install="$pkgname.install"
11 sha256sums=('26bf23a1f71900a60e2a15279adacdf01ceba56dfea6638c968d927b751cea79'
12 '6218c994a57207369e81e66387e429e087c3f4e658a3e5da620259ffd94e192f')
14 sed "s|gcc|g++|g" "$srcdir/hgcc" > "$srcdir/hg++"
18 install -Dm0755 "$srcdir/hgcc" "$pkgdir/usr/bin/hgcc"
19 install -Dm0755 "$srcdir/hg++" "$pkgdir/usr/bin/hg++"