diff options
author | Scott B | 2021-08-22 04:49:32 -0700 |
---|---|---|
committer | Scott B | 2021-08-22 04:49:32 -0700 |
commit | bd5f474b59abe924eadaaaeb7fbecc6edc39f87f (patch) | |
tree | fea2246fee665a5510fa25401977815c0882e834 | |
parent | 4ddb958cbea93812886c4a6582e0ea746542e9b1 (diff) | |
download | aur-bd5f474b59abe924eadaaaeb7fbecc6edc39f87f.tar.gz |
added simple 1st run install script
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | zram-swap.install | 20 |
3 files changed, 26 insertions, 4 deletions
@@ -1,8 +1,9 @@ pkgbase = zram-swap-git pkgdesc = A simple zram swap service for modern systemd Linux - pkgver = 02.r2.g5758ac0 - pkgrel = 2 + pkgver = 02.r5.gb80f27a + pkgrel = 1 url = https://github.com/foundObjects/zram-swap.git + install = zram-swap.install arch = any license = MIT depends = systemd @@ -1,13 +1,14 @@ # Maintainer: Arglebargle < arglebargle DASH aur AT arglebargle DOT dev > pkgname=zram-swap-git _pkgname=zram-swap -pkgver=02.r2.g5758ac0 -pkgrel=2 +pkgver=02.r5.gb80f27a +pkgrel=1 pkgdesc="A simple zram swap service for modern systemd Linux" arch=('any') url="https://github.com/foundObjects/zram-swap.git" license=('MIT') depends=('systemd' 'sh' 'grep' 'awk' 'util-linux' 'kmod') +install="zram-swap.install" backup=('etc/default/zram-swap') source=('git+https://github.com/foundObjects/zram-swap.git') sha512sums=('SKIP') diff --git a/zram-swap.install b/zram-swap.install new file mode 100644 index 000000000000..9eac4265e698 --- /dev/null +++ b/zram-swap.install @@ -0,0 +1,20 @@ +post_install() { + cat << YEET + + Make any desired configuration changes to /etc/default/zram-swap then execute + + $ systemctl daemon-reload + $ systemctl enable zram-swap.service + + To enable zram swap immediately run + + $ systemctl start zram-swap.service + + Report any issues to: + https://github.com/foundObjects/zram-swap/issues + + This package is forked from: + https://github.com/foundObjects/zram-swap + +YEET +} |