gebner-base-1

This commit is contained in:
Gabriel Ebner 2020-12-26 16:32:52 +01:00
commit 7b7fbd60d1
8 changed files with 259 additions and 0 deletions

3
.gitignore vendored Normal file

@ -0,0 +1,3 @@
pkg
src
/queue

105
gebner-base/.SRCINFO Normal file

@ -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

135
gebner-base/PKGBUILD Normal file

@ -0,0 +1,135 @@
# Maintainer: Gabriel Ebner <gebner@gebner.org>
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"
}

@ -0,0 +1,2 @@
%wheel ALL=(ALL) ALL
# Defaults passwd_timeout=0

@ -0,0 +1 @@
/usr/bin/nvim

@ -0,0 +1 @@
/usr/bin/nvim

@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/nvim -d "$@"

@ -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
}