summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-07-27 17:10:33 +0200
committerAllan McRae <allan@archlinux.org>2022-07-29 10:17:52 +1000
commit79bd512181af12ec80fd8f79486fc9508fa4a1b3 (patch)
tree35faee3905d517cf9474b466aa42b10e970b46ef /meson_options.txt
parent51b2e1c973e3466471a1762716e96cf502817c0d (diff)
Add --keyringdir meson option to configure the keyring directory
On Debian, keyrings are stored in /usr/share/keyrings. To support this, let's add a new --keyringdir option that allows configuring the directory under datarootdir where the keyrings should be imported from. We default to 'pacman/keyrings' for backwards compatibility.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 4d8cc300..d004002a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -26,6 +26,9 @@ option('buildscript', type : 'string', value : 'PKGBUILD',
option('datarootdir', type : 'string', value : 'share',
description : 'FIXME')
+option('keyringdir', type : 'string', value: 'pacman/keyrings',
+ description : 'Where to look for keyring files under datarootdir')
+
option('makepkg-template-dir', type : 'string', value : '/usr/share/makepkg-template',
description : 'template dir used by makepkg-template')