add screen

This commit is contained in:
Daniel Langbein 2021-05-03 22:17:59 +02:00
parent f0354bc567
commit 7349ca0517
6 changed files with 55 additions and 3 deletions

View File

@ -2,7 +2,7 @@
_pkgname=mkinitcpio
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.5
pkgver=0.0.6
pkgrel=1
pkgdesc="mkinitcpio configuration"
arch=('any')

View File

@ -25,7 +25,7 @@ Hooks to for
4) keymap
```shell
HOOKS=(base udev resume modconf block keyboard keymap encrypt lvm2 btrfs fsck filesystems)
HOOKS=(base udev modconf block keyboard keymap encrypt lvm2 btrfs filesystems fsck resume)
```
## crc32c_intel

View File

@ -21,5 +21,5 @@ echo "$stdin" | grep '^#COMPRESSION="lz4"'
sed '
s|^MODULES=(|MODULES=(crc32c-intel |;
s|^#COMPRESSION="lz4".*$|COMPRESSION="lz4"|;
s|^HOOKS=(.*$|HOOKS=(base udev resume modconf block keyboard keymap encrypt lvm2 btrfs fsck filesystems)|
s|^HOOKS=(.*$|HOOKS=(base udev modconf block keyboard keymap encrypt lvm2 btrfs filesystems fsck resume)|
' <<< "$stdin"

View File

@ -0,0 +1,15 @@
## arg 1: the new package version
post_install() {
holo apply
}
## arg 1: the new package version
## arg 2: the old package version
post_upgrade() {
holo apply
}
## arg 1: the old package version
post_remove() {
holo apply
}

View File

@ -0,0 +1,30 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=screen
_reponame=arch
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="screen with configuration"
arch=('any')
url="https://codeberg.org/privacy1st/${_reponame}"
license=('MIT')
groups=()
depends=('screen' 'holo')
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install='.install'
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0544 screenrc.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/etc/screenrc.holoscript
}

View File

@ -0,0 +1,7 @@
#!/bin/sh
# stdin: default config
# stdout: modified config
cat
# 100 000 lines of scrollback
echo 'defscrollback 100000'