tarch-configs/PKGBUILD

25 lines
570 B
Bash
Raw Permalink Normal View History

2024-02-21 10:26:43 +03:00
pkgname=tarch-configs
pkgver=1.0
pkgrel=1
pkgdesc="Configs some App for Tarch OS"
2024-03-10 13:30:59 +03:00
arch=("any")
url="https://gitcast.ru/tarch_os/tarch-bin"
license=("GPL3")
2024-02-21 10:26:43 +03:00
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}
2024-03-10 13:30:59 +03:00
chmod +x "${CONFIG_DIR}/bspwm"/bin/*
chmod +x "${CONFIG_DIR}/bspwm"/rofi/bin/*
install -Dm 755 ${srcdir}/bspwm/bspwmrc "${CONFIG_DIR}/bspwm"/bspwmrc
2024-02-21 10:26:43 +03:00
install -Dm 644 ${srcdir}/mimeapps.list ${CONFIG_DIR}/mimeapps.list
}