tarch-configs/PKGBUILD
Andrey Zimin 1b1b70daed add nvim
2024-03-10 13:30:59 +03:00

25 lines
570 B
Bash
Executable File

pkgname=tarch-configs
pkgver=1.0
pkgrel=1
pkgdesc="Configs some App for Tarch OS"
arch=("any")
url="https://gitcast.ru/tarch_os/tarch-bin"
license=("GPL3")
install=${pkgname}.install
prepare() {
cp -af ../configs/. ${srcdir}
}
package() {
local CONFIG_DIR=${pkgdir}/etc/skel/.config
mkdir -p ${CONFIG_DIR}
cp -r ${srcdir}/* ${CONFIG_DIR}
chmod +x "${CONFIG_DIR}/bspwm"/bin/*
chmod +x "${CONFIG_DIR}/bspwm"/rofi/bin/*
install -Dm 755 ${srcdir}/bspwm/bspwmrc "${CONFIG_DIR}/bspwm"/bspwmrc
install -Dm 644 ${srcdir}/mimeapps.list ${CONFIG_DIR}/mimeapps.list
}