mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add screen
This commit is contained in:
parent
f0354bc567
commit
7349ca0517
@ -2,7 +2,7 @@
|
|||||||
_pkgname=mkinitcpio
|
_pkgname=mkinitcpio
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.5
|
pkgver=0.0.6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="mkinitcpio configuration"
|
pkgdesc="mkinitcpio configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -25,7 +25,7 @@ Hooks to for
|
|||||||
4) keymap
|
4) keymap
|
||||||
|
|
||||||
```shell
|
```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
|
## crc32c_intel
|
||||||
|
@ -21,5 +21,5 @@ echo "$stdin" | grep '^#COMPRESSION="lz4"'
|
|||||||
sed '
|
sed '
|
||||||
s|^MODULES=(|MODULES=(crc32c-intel |;
|
s|^MODULES=(|MODULES=(crc32c-intel |;
|
||||||
s|^#COMPRESSION="lz4".*$|COMPRESSION="lz4"|;
|
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"
|
' <<< "$stdin"
|
||||||
|
15
pkg/de-p1st-screen/.install
Normal file
15
pkg/de-p1st-screen/.install
Normal 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
|
||||||
|
}
|
30
pkg/de-p1st-screen/PKGBUILD
Normal file
30
pkg/de-p1st-screen/PKGBUILD
Normal 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
|
||||||
|
}
|
7
pkg/de-p1st-screen/screenrc.holoscript
Normal file
7
pkg/de-p1st-screen/screenrc.holoscript
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# stdin: default config
|
||||||
|
# stdout: modified config
|
||||||
|
cat
|
||||||
|
|
||||||
|
# 100 000 lines of scrollback
|
||||||
|
echo 'defscrollback 100000'
|
Loading…
Reference in New Issue
Block a user