2024-09-26 12:19:49 -05:00
|
|
|
pkgname=mnt-and-sway
|
|
|
|
pkgver=0.0.1
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A script to mount a user's encrypted home partition and start sway"
|
|
|
|
|
|
|
|
arch=(any)
|
|
|
|
url='https://git.askiiart.net/askiiart/mnt-and-sway'
|
|
|
|
license=('GPL-3.0-only')
|
|
|
|
depends=(cryptsetup sway)
|
|
|
|
|
|
|
|
# it wouldn't work so i give up
|
2024-09-26 14:09:30 -05:00
|
|
|
source=("https://git.askiiart.net/askiiart/mnt-and-sway/archive/v${pkgver}.tar.gz")
|
2024-09-26 13:19:09 -05:00
|
|
|
sha256sums=('821b24fb36ed557ebb669bb3cde1d3809d768f02fda7bb34cf95f5cbfaa7e21b')
|
2024-09-26 12:19:49 -05:00
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p -m 755 $pkgdir/usr/bin/
|
|
|
|
mkdir -p -m 755 $pkgdir/usr/share/wayland-sessions/
|
|
|
|
cd mnt-and-sway/
|
|
|
|
cp ./mnt-and-sway $pkgdir/usr/bin/
|
|
|
|
chmod 755 $pkgdir/usr/bin/mnt-and-sway
|
|
|
|
cp ./mnt-and-sway.desktop $pkgdir/usr/share/wayland-sessions/
|
|
|
|
chmod 644 $pkgdir/usr/share/wayland-sessions/mnt-and-sway.desktop
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
echo "Place the UUID of your home directory's encrypted partition at ~/fs-uuid on the root partition"
|
|
|
|
}
|