mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# $Id$
|
|
# Maintainer: Daniel Micay <danielmicay@gmail.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - added ARM conf files
|
|
|
|
pkgname=hardening-wrapper
|
|
pkgver=8
|
|
pkgrel=1
|
|
pkgdesc='Wrapper scripts for building hardened executables by default'
|
|
arch=(i686 x86_64)
|
|
url='https://github.com/thestinger/hardening-wrapper'
|
|
license=('MIT')
|
|
depends=(bash)
|
|
backup=(etc/hardening-wrapper.conf)
|
|
source=("https://github.com/thestinger/hardening-wrapper/archive/$pkgver.tar.gz"
|
|
path.sh hardening-wrapper-i686.conf hardening-wrapper-x86_64.conf
|
|
hardening-wrapper-arm{,v6h,v7h}.conf)
|
|
sha1sums=('6ed61cb69f5f756cb45e5b894fce8abdfa35f99c'
|
|
'1e5f6d9931f01b26bb4b6fbb839e21d34d534cdc'
|
|
'4d7a8f4818c531ce7002e860e0654b42b6147037'
|
|
'50db33c08439393b673c23d542e274beef44fbdd'
|
|
'50db33c08439393b673c23d542e274beef44fbdd'
|
|
'50db33c08439393b673c23d542e274beef44fbdd'
|
|
'50db33c08439393b673c23d542e274beef44fbdd')
|
|
|
|
package() {
|
|
install -Dm644 hardening-wrapper-${CARCH}.conf "$pkgdir/etc/hardening-wrapper.conf"
|
|
install -Dm644 path.sh "$pkgdir/etc/profile.d/hardening-wrapper.sh"
|
|
|
|
cd $pkgname-$pkgver
|
|
make install DESTDIR="$pkgdir" PREFIX=/usr
|
|
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|