89 lines
3.0 KiB
Bash
89 lines
3.0 KiB
Bash
# Template file for 'distr0'
|
|
pkgname=distr0
|
|
version=0.5.2
|
|
revision=1
|
|
build_style=meta
|
|
depends="void-repo-multilib void-repo-multilib-nonfree
|
|
void-repo-nonfree lvm2 cronie socklog-void ntp xtools
|
|
wireguard-tools gnupg2 progress pwgen net-tools ncdu
|
|
nmap mtr iotop hdparm smartmontools htop git neovim
|
|
btrbk croc grub-btrfs nano mbuffer noto-fonts-emoji"
|
|
short_desc="Void Zero"
|
|
maintainer="teldra <teldra@rotce.de>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://rotce.de"
|
|
make_dirs="/var/lib/backup/ziel 0750 root root
|
|
/var/lib/backup/quelle/bootfs 0750 root root
|
|
/var/lib/backup/quelle/rootfs 0750 root root"
|
|
conf_files="/etc/sudoers.d/10-common
|
|
/etc/bash/bashrc.d/xbps-aliase.sh
|
|
/etc/bash/bashrc.d/editor.sh
|
|
/usr/lib/udev/rules.d/99-mount-media.rules
|
|
/usr/lib/udev/rules.d/99-ioschedulers.rules
|
|
/etc/btrbk/btrbk.conf.void
|
|
/etc/xbps.d/50-no-extract.conf
|
|
/etc/xbps.d/20-repo-rotce.de-pakete.conf
|
|
/etc/default/grub-btrfs/void.conf
|
|
/etc/NetworkManager/conf.d/unmanaged-wg.conf
|
|
/etc/NetworkManager/conf.d/unmanaged-tun.conf
|
|
/etc/NetworkManager/dispatcher.d/30-wg0
|
|
/etc/profile.d/zz-append-path.sh
|
|
/etc/skel/gpg-agent.conf"
|
|
|
|
|
|
do_install() {
|
|
vinstall "${FILESDIR}/remover.sh" 755 etc/
|
|
|
|
vbin "${FILESDIR}/bin/joinvpn"
|
|
vbin "${FILESDIR}/bin/void-update"
|
|
vbin "${FILESDIR}/bin/void-backup"
|
|
vbin "${FILESDIR}/bin/void-snapshot"
|
|
vbin "${FILESDIR}/bin/void-createbackupcontainer"
|
|
vbin "${FILESDIR}/bin/pinentry-chooser"
|
|
vbin "${FILESDIR}/bin/change_luks_pw"
|
|
vbin "${FILESDIR}/bin/helpme"
|
|
|
|
vmkdir etc/sudoers.d
|
|
vinstall "${FILESDIR}/sudoers/10-common" 700 etc/sudoers.d
|
|
|
|
vmkdir etc/bash/bashrc.d
|
|
vinstall "${FILESDIR}/bash/xbps-aliase.sh" 755 etc/bash/bashrc.d
|
|
vinstall "${FILESDIR}/bash/editor.sh" 755 etc/bash/bashrc.d
|
|
|
|
vmkdir usr/lib/udev/rules.d
|
|
vinstall "${FILESDIR}/udev/99-mount-media.rules" 644 usr/lib/udev/rules.d
|
|
vinstall "${FILESDIR}/udev/99-ioschedulers.rules" 644 usr/lib/udev/rules.d
|
|
|
|
vmkdir etc/btrbk
|
|
vinstall "${FILESDIR}/btrbk/btrbk.conf.void" 644 etc/btrbk
|
|
|
|
vmkdir etc/xbps.d
|
|
vinstall "${FILESDIR}/xbps/50-no-extract.conf" 755 etc/xbps.d
|
|
vinstall "${FILESDIR}/xbps/20-repo-rotce.de-pakete.conf" 755 etc/xbps.d
|
|
|
|
vmkdir etc/default/grub-btrfs
|
|
vinstall "${FILESDIR}/grub-btrfs/void.conf" 755 etc/default/grub-btrfs
|
|
|
|
vmkdir etc/NetworkManager/conf.d
|
|
vmkdir etc/NetworkManager/dispatcher.d
|
|
vinstall "${FILESDIR}/nm/unmanaged-wg.conf" 644 etc/NetworkManager/conf.d
|
|
vinstall "${FILESDIR}/nm/unmanaged-tun.conf" 644 etc/NetworkManager/conf.d
|
|
vinstall "${FILESDIR}/nm/30-wg0" 744 etc/NetworkManager/dispatcher.d
|
|
|
|
vmkdir etc/profile.d
|
|
vinstall "${FILESDIR}/profile/append-path.sh" 644 etc/profile.d zz-append-path.sh
|
|
|
|
vmkdir usr/share/X11/xorg.conf.d
|
|
vinstall "${FILESDIR}/xorg/10-keyboard.conf" 644 usr/share/X11/xorg.conf.d
|
|
|
|
vmkdir etc/X11/xinit/xinitrc.d
|
|
vinstall "${FILESDIR}/xorg/dbus-launch.sh" 755 etc/X11/xinit/xinitrc.d
|
|
|
|
vmkdir etc/skel
|
|
vinstall "${FILESDIR}/gnupg/gpg-agent.conf" 700 etc/skel
|
|
|
|
vmkdir etc/fonts/conf.d
|
|
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf "${DESTDIR}/etc/fonts/conf.d/70-no-bitmaps.conf"
|
|
}
|
|
|