diff options
author | pyamsoft | 2023-10-01 19:27:56 -0700 |
---|---|---|
committer | pyamsoft | 2023-10-01 19:27:56 -0700 |
commit | 41811e2d4dfc84197182035a8bffcd2f0df2bec8 (patch) | |
tree | a1bdf1bb95b9289cbd4176f1e8a08c6b9a005ee1 /PKGBUILD | |
parent | 22905a32889e525d9fe78a5517897ce4cb7b7b6c (diff) | |
download | aur-41811e2d4dfc84197182035a8bffcd2f0df2bec8.tar.gz |
Update PKGBUILD to add socat as optional dependency
socat is recommended when using an HTTP proxy to push to ssh git servers
and is included with a 'drop-in' command as a comment in the ssh config file
by default
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,4 +1,6 @@ ## +# shellcheck shell=bash +# # Maintainer: pyamsoft <developer(dot)pyamsoft(at)gmail(dot)com> ## @@ -8,7 +10,7 @@ pkgname=git-ssh-git # shellcheck disable=SC2034 pkgdesc="An SSH key manager for git" # shellcheck disable=SC2034 -pkgver=r276.2b204e9 +pkgver=r298.e28d095 # shellcheck disable=SC2034 pkgrel=1 # shellcheck disable=SC2034 @@ -18,7 +20,9 @@ makedepends=('git') # shellcheck disable=SC2034 depends=('git') # shellcheck disable=SC2034 -optdepends=() +optdepends=( + "socat: For use with HTTP proxies" +) # shellcheck disable=SC2034 provides=('git-ssh') # shellcheck disable=SC2034 @@ -58,7 +62,13 @@ package() { return 1 } + # Open up the umask in case you are running something more restrictive + umask 0022 + + # Mark the script executable chmod 755 "${_gitname}" + + # shellcheck disable=SC2154 mkdir -p "${pkgdir}/usr/bin" mkdir -p "${pkgdir}/usr/share/doc/${_gitname}" mkdir -p "${pkgdir}/usr/share/licenses/${_gitname}" |