diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-06-18 17:01:37 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-06-18 17:01:37 -0700 |
commit | 4adf2cb60eaf82c4caf2cb2fdcc6aed910bcb775 (patch) | |
tree | 5a036a971e35073f150052b35bbe96212ff295d2 | |
parent | Updated to 7 (diff) | |
download | hardened-malloc-4adf2cb60eaf82c4caf2cb2fdcc6aed910bcb775.tar.xz |
Updated to 8
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -7,7 +7,7 @@ pkgname=hardened-malloc _altname=hardened_malloc -pkgver=7 +pkgver=8 pkgrel=1 pkgdesc="Hardened allocator designed for modern systems" arch=('x86_64' 'aarch64') @@ -17,22 +17,27 @@ depends=('gcc-libs') makedepends=('git') checkdepends=('python') provides=('libhardened_malloc.so') +options=(!makeflags) source=("git+https://github.com/GrapheneOS/${_altname}#tag=$pkgver?signed") b2sums=('SKIP') validpgpkeys=('65EEFE022108E2B708CBFCF7F9E712E59AF5F22A') # Daniel Micay <danielmicay@gmail.com> build() { cd "${_altname}" + make } check() { cd "${_altname}" - make CONFIG_WERROR=false test + + # tests fail if CPPFLAGS is not set + CPPFLAGS="" make CONFIG_WERROR=false test } package() { cd "${_altname}" + install -Dm755 --target-directory="$pkgdir/usr/lib" libhardened_malloc.so install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |