mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
34 lines
1.3 KiB
Bash
34 lines
1.3 KiB
Bash
# $Id$
|
|
# Maintainer: Daniel Micay <danielmicay@gmail.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - added ARM conf files
|
|
|
|
pkgname=hardening-wrapper
|
|
pkgver=9
|
|
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=("$pkgname-$pkgver.tar.gz::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=('c71a3ea32759c71b779e532c6911d93dba301271'
|
|
'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"
|
|
}
|