diff options
| author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-27 17:41:11 +0200 | 
|---|---|---|
| committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-01-27 17:41:11 +0200 | 
| commit | 9cfd25329a4dc1e1495b24e3dae0313a2e6a60f7 (patch) | |
| tree | e9a9e9b09fb111b30bdb6af150d76707d9ff1e2a /linux/makepkg | |
| parent | pluginloader: add test for PluginLoader::verify (diff) | |
| download | smolbote-9cfd25329a4dc1e1495b24e3dae0313a2e6a60f7.tar.xz | |
pluginloader: generate keys by meson
Diffstat (limited to 'linux/makepkg')
| -rw-r--r-- | linux/makepkg/PKGBUILD | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index 6754fe8..18f9ebe 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -96,6 +96,10 @@ build() {      ninja -C $srcdir/build "$MAKEFLAGS"  } +check() { +    ninja -C $srcdir/build test +} +  package() {      # Install      cd $srcdir/build @@ -104,8 +108,8 @@ package() {      if [ $_signPlugins == "1" ]; then      msg "Signing plugins"      for so in $pkgdir/$_prefix/lib/smolbote/plugins/*.so; do +        openssl dgst -sha256 -sign $srcdir/build/lib/pluginloader/privateKey.pem -out $so.sig $so          msg2 "Signed $(basename $so)" -        openssl dgst -sha256 -sign $srcdir/build/privateKey.pem -out $so.sig $so      done      fi | 
