From a42147c8113ba3269b573b62ed5f09654aac70eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 29 Jul 2022 10:59:32 +0200 Subject: [PATCH] add some comments. fix signing-key package: init pacman keyring --- PKGBUILD | 20 +++++++++++++++++++- mkessler-signing-key.install | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index a82664a..545d0cb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,12 +8,27 @@ license=('MIT') groups=(mkessler) url="https://gitlab.com/kesslermaximilian/arch-pkgs" + +########### +# Note that some of these packages have dependencies that are only available +# in the AUR. Such packages are marked with an 'AUR' comment. +# In order for this to work, you either need to use an AUR helper that is able +# to resolve such dependencies, or have these AUR packages pre-built and +# available in a custom repository, so that pacman is able to find them. +# Also, note that there is no guarantee made on any functionality of these +# packages and that dependencies might change at any time +########## + source=(https://mkessler-arch.maximilian-kessler.de/signing_key) b2sums=(b0e1a6bc60f99bdda99dd053ef869a9f3f899ced7a4b23db3718baaee374375ca4013ac3eab2eb3ef6d645083722f9305c484661cd1246f6ec2e3bf62dbf95a4) +pkgver() { + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + package_mkessler-signing-key() { # Install this package after pacman to ensure that its keyring is initialized - depends=(pacman) + depends=(archlinux-keyring) install=mkessler-signing-key.install @@ -66,6 +81,9 @@ package_mkessler-x() { # window managers: i3 and stuff to build xmonad depends+=(i3-gaps i3lock i3status i3blocks) + # AUR + depends+=(i3lock-fancy-git) + depends+=(mkessler-xmonad) # launching utilities, status bar diff --git a/mkessler-signing-key.install b/mkessler-signing-key.install index 47dd2e9..b1ce5cc 100644 --- a/mkessler-signing-key.install +++ b/mkessler-signing-key.install @@ -1,4 +1,5 @@ post_install() { + pacman-key --init pacman-key --add /opt/mkessler/signing-key/signing_key pacman-key --lsign B419CDA93D7544F8214B3216A23D90C2433DAFBC }