# Maintainer: Gabriel Ebner <gebner@gebner.org>
pkgname=gebner-base
pkgver=6
pkgrel=1
pkgdesc="Base system config"
arch=(any)
url="https://git.gebner.org/gebner/archpkgs"
license=(MIT)
groups=(gebner)

provides=(vim vi)
conflicts=(vim vi)
replaces=(vim vi)
install=gebner-base.install

depends=(
  base
  man-db man-pages
)

# base-devel
depends+=(
  autoconf automake binutils bison fakeroot file findutils flex gawk gcc
  gettext grep groff gzip libtool m4 make pacman patch pkgconf sed sudo texinfo
  which
)

depends+=(
  sudo

  wget
  time

  neovim
  python-pynvim
  neovim-remote

  fish
  # zsh

  git
  git-subrepo-xdg
  hub
  tig

  make
  m4

  screen
  psmisc

  parallel

  gnupg
  pwgen

  the_silver_searcher
  ripgrep
  fzf

  tree

  python
  ipython

  perl

  gdb

  usbutils

  bind
  nmap
  tcpdump
  # telnet
  mtr
  socat
  openbsd-netcat
  whois
  inetutils

  cifs-utils
  smbclient

  dstat
  htop
  iotop
  strace
  iftop

  which

  unzip zip

  file

  elinks
  links

  ctags

  wireguard-tools

  jq

  libb2

  strace
  ncdu

  nftables
  iw
  avahi
  nss-mdns
  openssh
)

# aurutils
depends+=(
  aurutils
  vifm
  devtools
  pacman-contrib
)

depends+=(
  e2fsprogs
  exfat-utils
  dosfstools
  f2fs-tools
)

rootdir=$PWD

package() {
    cp -a "$rootdir/files/"* "$pkgdir"
    chmod -R 0750 "$pkgdir/etc/sudoers.d"
}