25 lines
570 B
Bash
Executable File
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
|
|
}
|