2021-04-29 12:09:36 +02:00
|
|
|
# Maintainer: Daniel Langbein <daniel@systemli.org>
|
|
|
|
_pkgname=gnupg
|
|
|
|
_reponame=arch
|
|
|
|
pkgname="de-p1st-$_pkgname"
|
2021-07-05 11:36:19 +02:00
|
|
|
pkgver=0.0.10
|
2021-06-15 12:39:36 +02:00
|
|
|
pkgrel=1
|
2021-04-29 12:09:36 +02:00
|
|
|
pkgdesc="gnupg with configuration"
|
|
|
|
arch=('any')
|
|
|
|
url="https://codeberg.org/privacy1st/${_reponame}"
|
|
|
|
license=('MIT')
|
2022-04-15 15:36:53 +02:00
|
|
|
depends=()
|
|
|
|
depends+=('gnupg')
|
|
|
|
depends+=('holo' 'git' 'base') # without base "holo apply" may fail on initial system installation
|
2021-04-29 12:09:36 +02:00
|
|
|
makedepends=('git')
|
2021-06-15 11:13:24 +02:00
|
|
|
install='.install'
|
2021-06-17 10:59:37 +02:00
|
|
|
source=("git+${url}.git")
|
2021-04-29 12:09:36 +02:00
|
|
|
noextract=()
|
2021-06-17 14:04:56 +02:00
|
|
|
sha256sums=('SKIP')
|
2021-04-29 12:09:36 +02:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${_reponame}/pkg/${pkgname}"
|
|
|
|
|
2021-06-14 23:39:19 +02:00
|
|
|
install -dm0700 "$pkgdir"/etc/skel/.gnupg/
|
|
|
|
install -Dm0600 gpg.conf "$pkgdir"/etc/skel/.gnupg/gpg.conf
|
|
|
|
install -Dm0600 gpg-agent.conf "$pkgdir"/etc/skel/.gnupg/gpg-agent.conf
|
2021-06-15 00:28:52 +02:00
|
|
|
|
2021-07-05 11:36:19 +02:00
|
|
|
install -Dm0544 interactive-shell.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/bash.bashrc.holoscript
|
|
|
|
install -Dm0544 interactive-shell.holoscript "$pkgdir"/usr/share/holo/files/20-"$pkgname"/etc/zsh/zshrc.holoscript
|
2021-06-15 12:39:36 +02:00
|
|
|
|
2021-06-15 12:51:49 +02:00
|
|
|
install -Dm0644 94F3D3DDAC22802258FC044B6C47C753F0823002.pub "$pkgdir"/usr/share/gnupg/94F3D3DDAC22802258FC044B6C47C753F0823002.pub
|
2021-06-15 12:39:36 +02:00
|
|
|
install -Dm0644 99_import_pubkey.sh "$pkgdir"/etc/profile.d/99_import_pubkey.sh
|
2021-04-29 12:09:36 +02:00
|
|
|
}
|