Commit 3fe9d3d1 authored by Seblu's avatar Seblu
Browse files

seblu-config: Add screenrc

parent a2285511
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
# Maintainer: Sébastien Luttringer <seblu.seblu.net>

pkgname=config-seblu
pkgver=$(date +%Y.%m.%d)
pkgver=1
pkgrel=1
pkgdesc='Provide seblu basic hosts configuration'
arch=('any')
license=('GPL2')
depends=('sed' 'diffutils')
makedepends=('git')
install=$pkgname.install
source=('git+ssh://seblu@seblu.net:2222/~/git/configs')
md5sums=('SKIP')

pkgver() {
  date +%Y.%m.%d
}

package() {
  install -dm755 "$pkgdir"/{etc/sysctl.d,usr/share/$pkgname}
  # disable default sysctl options provided by systemd
@@ -25,6 +30,7 @@ package() {
  install -Dm644 e2fsprogs/e2fsk.conf "$_d"
  install -Dm644 ntp/ntp.conf "$_d"
  install -Dm644 vim/seblu.vim "$_d"
  install -Dm644 screen/screenrc "$_d"
}

# vim:set ts=2 sw=2 et:
+1 −0
Original line number Diff line number Diff line
@@ -28,6 +28,7 @@ post_install() {
  check_file /etc/e2fsk.conf
  check_file /etc/sysctl.d/seblu.net.conf
  check_file /etc/zsh/zshrc zshrc
  check_file /etc/screenrc screenrc

  # enable vim config
  check_file /usr/share/vim/vimfiles/seblu.vim