add some comments. fix signing-key package: init pacman keyring
This commit is contained in:
parent
41cc2f14ff
commit
a42147c811
2 changed files with 20 additions and 1 deletions
20
PKGBUILD
20
PKGBUILD
|
@ -8,12 +8,27 @@ license=('MIT')
|
||||||
groups=(mkessler)
|
groups=(mkessler)
|
||||||
url="https://gitlab.com/kesslermaximilian/arch-pkgs"
|
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)
|
source=(https://mkessler-arch.maximilian-kessler.de/signing_key)
|
||||||
b2sums=(b0e1a6bc60f99bdda99dd053ef869a9f3f899ced7a4b23db3718baaee374375ca4013ac3eab2eb3ef6d645083722f9305c484661cd1246f6ec2e3bf62dbf95a4)
|
b2sums=(b0e1a6bc60f99bdda99dd053ef869a9f3f899ced7a4b23db3718baaee374375ca4013ac3eab2eb3ef6d645083722f9305c484661cd1246f6ec2e3bf62dbf95a4)
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
package_mkessler-signing-key() {
|
package_mkessler-signing-key() {
|
||||||
# Install this package after pacman to ensure that its keyring is initialized
|
# Install this package after pacman to ensure that its keyring is initialized
|
||||||
depends=(pacman)
|
depends=(archlinux-keyring)
|
||||||
|
|
||||||
install=mkessler-signing-key.install
|
install=mkessler-signing-key.install
|
||||||
|
|
||||||
|
@ -66,6 +81,9 @@ package_mkessler-x() {
|
||||||
# window managers: i3 and stuff to build xmonad
|
# window managers: i3 and stuff to build xmonad
|
||||||
depends+=(i3-gaps i3lock i3status i3blocks)
|
depends+=(i3-gaps i3lock i3status i3blocks)
|
||||||
|
|
||||||
|
# AUR
|
||||||
|
depends+=(i3lock-fancy-git)
|
||||||
|
|
||||||
depends+=(mkessler-xmonad)
|
depends+=(mkessler-xmonad)
|
||||||
|
|
||||||
# launching utilities, status bar
|
# launching utilities, status bar
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
post_install() {
|
post_install() {
|
||||||
|
pacman-key --init
|
||||||
pacman-key --add /opt/mkessler/signing-key/signing_key
|
pacman-key --add /opt/mkessler/signing-key/signing_key
|
||||||
pacman-key --lsign B419CDA93D7544F8214B3216A23D90C2433DAFBC
|
pacman-key --lsign B419CDA93D7544F8214B3216A23D90C2433DAFBC
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue