diff options
Diffstat (limited to 'update-all/PKGBUILD')
-rwxr-xr-x | update-all/PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/update-all/PKGBUILD b/update-all/PKGBUILD index 99dac7c00..73139c101 100755 --- a/update-all/PKGBUILD +++ b/update-all/PKGBUILD @@ -7,11 +7,19 @@ arch=('any') url="https://git.eckner.net/Erich/${pkgname}" license=('GPL') groups=() -depends=( +OS=$( + awk -F= '$1 == "ID" {print $2}' /etc/os-release +) +_arch_depends=( 'archlinux-contrib' +) +depends=( 'pacman-contrib' 'vim' ) +if [ "${OS}" = 'arch' ]; then + depends+=("${_arch_depends[@]}") +fi makedepends=() checkdepends=() optdepends=( |