2019-10-08 21:19:53 +00:00
|
|
|
# Maintainer: Dmytro Meleshko <dmytro.meleshko@gmail.com>
|
|
|
|
pkgname=dmitmel-dotfiles
|
|
|
|
pkgver=0
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="dmitmel's dotfiles"
|
|
|
|
arch=('any')
|
|
|
|
url="https://github.com/dmitmel/dotfiles"
|
|
|
|
license=('MIT')
|
|
|
|
backup=()
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/../files"
|
2020-08-08 08:02:39 +00:00
|
|
|
|
2020-10-04 16:50:52 +00:00
|
|
|
install -vDm644 ../../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
2020-08-08 08:02:39 +00:00
|
|
|
_install_my_file -vDm644 etc/initcpio/hooks/bootmsg
|
|
|
|
_install_my_file -vDm644 etc/initcpio/install/bootmsg
|
|
|
|
_install_my_file -vDm644 etc/initcpio/hooks/consolecolors
|
|
|
|
_install_my_file -vDm644 etc/initcpio/install/consolecolors
|
2020-10-04 16:50:52 +00:00
|
|
|
install -vdm750 "${pkgdir}/etc/sudoers.d"
|
2020-08-08 08:02:39 +00:00
|
|
|
_install_my_file -vDm640 etc/sudoers.d/99_dmitmel_dotfiles
|
|
|
|
_install_my_file -vDm644 etc/sysctl.d/50-dmitmel.conf
|
|
|
|
_install_my_file -vDm644 etc/bootmsg
|
2020-10-04 16:50:52 +00:00
|
|
|
install -vDm644 ../../colorschemes/out/setvtrgb.txt "${pkgdir}/etc/consolecolors"
|
2020-08-08 08:02:39 +00:00
|
|
|
_install_my_file -vDm644 etc/locale.conf
|
2020-10-04 16:50:52 +00:00
|
|
|
install -vDm644 ../../colorschemes/out/xfce4-terminal.theme "${pkgdir}/usr/share/xfce4/terminal/colorschemes/${pkgname}.theme"
|
2019-10-08 21:19:53 +00:00
|
|
|
}
|
|
|
|
|
2020-08-08 08:02:39 +00:00
|
|
|
_install_my_file() {
|
2020-10-04 16:50:52 +00:00
|
|
|
install "$@" "${pkgdir}/${*: -1}"
|
2019-10-08 21:19:53 +00:00
|
|
|
}
|