commit 7b7fbd60d19dafb4842db5ee5973a91d6e35a988 Author: Gabriel Ebner Date: Sat Dec 26 16:32:52 2020 +0100 gebner-base-1 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9dc89b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +pkg +src +/queue diff --git a/gebner-base/.SRCINFO b/gebner-base/.SRCINFO new file mode 100644 index 0000000..8231b45 --- /dev/null +++ b/gebner-base/.SRCINFO @@ -0,0 +1,105 @@ +pkgbase = gebner-base + pkgdesc = Base system config + pkgver = 1 + pkgrel = 1 + url = https://git.gebner.org/gebner/archpkgs + install = gebner-base.install + arch = any + groups = gebner + license = MIT + depends = autoconf + depends = automake + depends = binutils + depends = bison + depends = fakeroot + depends = file + depends = findutils + depends = flex + depends = gawk + depends = gcc + depends = gettext + depends = grep + depends = groff + depends = gzip + depends = libtool + depends = m4 + depends = make + depends = pacman + depends = patch + depends = pkgconf + depends = sed + depends = sudo + depends = texinfo + depends = which + depends = sudo + depends = wget + depends = time + depends = neovim + depends = python-pynvim + depends = neovim-remote + depends = fish + depends = git + depends = hub + depends = tig + depends = make + depends = m4 + depends = screen + depends = psmisc + depends = parallel + depends = gnupg + depends = pwgen + depends = the_silver_searcher + depends = ripgrep + depends = fzf + depends = tree + depends = python + depends = ipython + depends = perl + depends = gdb + depends = usbutils + depends = bind + depends = nmap + depends = tcpdump + depends = mtr + depends = socat + depends = openbsd-netcat + depends = whois + depends = dstat + depends = htop + depends = iotop + depends = strace + depends = iftop + depends = which + depends = unzip + depends = zip + depends = file + depends = elinks + depends = links + depends = ctags + depends = wireguard-tools + depends = jq + depends = libb2 + depends = strace + depends = ncdu + depends = nftables + depends = iw + depends = avahi + depends = nss-mdns + depends = openssh + depends = aurutils + depends = vifm + depends = devtools + depends = pacman-contrib + depends = e2fsprogs + depends = exfat-utils + depends = dosfstools + depends = f2fs-tools + provides = vim + provides = vi + conflicts = vim + conflicts = vi + replaces = vim + replaces = vi + +pkgname = gebner-base + diff --git a/gebner-base/PKGBUILD b/gebner-base/PKGBUILD new file mode 100644 index 0000000..e39e01e --- /dev/null +++ b/gebner-base/PKGBUILD @@ -0,0 +1,135 @@ +# Maintainer: Gabriel Ebner +pkgname=gebner-base +pkgver=1 +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 + linux linux-firmware + 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 + 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 + + 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" +} + diff --git a/gebner-base/files/etc/sudoers.d/gebner-base b/gebner-base/files/etc/sudoers.d/gebner-base new file mode 100644 index 0000000..7687a25 --- /dev/null +++ b/gebner-base/files/etc/sudoers.d/gebner-base @@ -0,0 +1,2 @@ +%wheel ALL=(ALL) ALL +# Defaults passwd_timeout=0 diff --git a/gebner-base/files/usr/bin/vi b/gebner-base/files/usr/bin/vi new file mode 120000 index 0000000..161f676 --- /dev/null +++ b/gebner-base/files/usr/bin/vi @@ -0,0 +1 @@ +/usr/bin/nvim \ No newline at end of file diff --git a/gebner-base/files/usr/bin/vim b/gebner-base/files/usr/bin/vim new file mode 120000 index 0000000..161f676 --- /dev/null +++ b/gebner-base/files/usr/bin/vim @@ -0,0 +1 @@ +/usr/bin/nvim \ No newline at end of file diff --git a/gebner-base/files/usr/bin/vimdiff b/gebner-base/files/usr/bin/vimdiff new file mode 100755 index 0000000..c494dd3 --- /dev/null +++ b/gebner-base/files/usr/bin/vimdiff @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/nvim -d "$@" diff --git a/gebner-base/gebner-base.install b/gebner-base/gebner-base.install new file mode 100644 index 0000000..7e30f37 --- /dev/null +++ b/gebner-base/gebner-base.install @@ -0,0 +1,10 @@ +post_install() { + post_upgrade + ln -s ../usr/share/zoneinfo/Europe/Amsterdam /etc/localtime +} + +post_upgrade() { + echo "LANG=en_US.UTF-8" > /etc/locale.conf + sed 's/#\(en_US.UTF-8\)/\1/' -i /etc/locale.gen + locale-gen +}