systems/arch-portalo/PKGBUILD

62 lines
1.2 KiB
Bash

# Maintainer: Tobias Reisinger <tobias@msrg.cc>
# shellcheck disable=SC2034
pkgname=serguzim-system-portalo
pkgver=1
pkgrel=1
epoch=
pkgdesc=""
arch=("any")
url="https://git.serguzim.me/serguzim/system"
license=("unknown")
groups=()
depends=(
"intel-ucode"
"amdgpu-fan"
"xf86-video-amdgpu"
"vulkan-radeon"
)
source=(
"boot_loader_entries_arch.conf"
"boot_loader_loader.conf"
"etc_fstab"
"etc_hostname"
"etc_systemd_network_20-wired.network"
"etc_systemd_system_ckb-next-daemon.service"
"etc_udev_rules.d_42-logitech-unify-permissions.rules"
)
sha256sums=(
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
)
backup=()
_sed_path() {
echo "$1" | sed -e "s/\//_/g"
}
_install() {
temp_pkg=$1
temp_src=$(_sed_path "$temp_pkg")
# shellcheck disable=SC2154
install "-Dm${2:-644}" "${srcdir}/${temp_src}" "${pkgdir}/${temp_pkg}"
}
package() {
_install "boot/loader/entries/arch.conf" "755"
_install "boot/loader/loader.conf" "755"
_install "etc/fstab"
_install "etc/hostname"
_install "etc/systemd/network/20-wired.network"
_install "etc/systemd/system/ckb-next-daemon.service"
_install "etc/udev/rules.d/42-logitech-unify-permissions.rules"
}
# vim: ft=sh