summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/git/config5
-rw-r--r--.config/pacman/makepkg.conf11
2 files changed, 16 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
new file mode 100644
index 0000000..15afca0
--- /dev/null
+++ b/.config/git/config
@@ -0,0 +1,5 @@
+[user]
+ name = Parabola automatic package builder
+ email = dev@lists.parabolagnulinux.org
+[push]
+ default = simple
diff --git a/.config/pacman/makepkg.conf b/.config/pacman/makepkg.conf
new file mode 100644
index 0000000..caad51b
--- /dev/null
+++ b/.config/pacman/makepkg.conf
@@ -0,0 +1,11 @@
+PKGDEST="${HOME}/packages/pkgdest"
+SRCDEST="${HOME}/packages/srcdest"
+SRCPKGDEST="${HOME}/packages/srcpkgdest"
+LOGDEST="${HOME}/packages/logdest"
+BUILDDIR="${HOME}/packages/builddir"
+
+GPGKEY="$({
+ sed -nr 's/^\s*default-key\s+//p' "${HOME}/.gnupg/gpg.conf"
+ gpg --list-secret-keys --with-colons | grep ^sec: | cut -d: -f5 | sed -r 's/.*(........)$/\1/'
+ } | sed 1q)"
+PACKAGER="$(gpg --with-colons --fingerprint "$GPGKEY"|grep ^uid:|cut -d: -f10)"