jobcore/jobo-autologin/PKGBUILD
Joe Bo Run 45e1e36709 upg kbd
add jobo-autologin
2023-08-16 04:09:18 +03:00

35 lines
1.3 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=jobo-autologin
pkgdesc='joborun linux autologin setup and control scripts for both runit and s6/66'
pkgver=0.1
pkgrel=01
source=('autologin.tar.xz')
install=autologin.install
depends=('sh')
backup=('etc/runit/sv/agetty-tty7' 'etc/66/service/autologin@')
package() {
install -Dm 0644 autologin.txt $pkgdir/usr/local/bin/autologin.txt
install -Dm 0744 autologin-setup $pkgdir/usr/local/bin/autologin-setup
install -Dm 0744 autologin-on $pkgdir/usr/local/bin/autologin-on
install -Dm 0744 $srcdir/autologin-off $pkgdir/usr/local/bin/autologin-off
install -Dm 0644 $srcdir/autologin@ $pkgdir/usr/lib/66/service/autologin@
mkdir -p $pkgdir/usr/lib/runit/sv/
cp -pr $srcdir/"agetty-tty7" $pkgdir/usr/lib/runit/sv/
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(ISC)
sha256sums=(3c4b159da4ef9e9b4e20e8dfdf37513aaec870231c7d1d59ae65438f93af7341) # autologin.tar.xz
## 6b4704ce0cbfd3f2cf74fc15ba1bb185720deafc027e3387a651b6d92b1fba11 jobo-autologin-0.1-01-x86_64.pkg.tar.lz