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 source=('https://git.askiiart.net/askiiart/mnt-and-sway/archive/v$pkgver.tar.gz') sha256sums=('821b24fb36ed557ebb669bb3cde1d3809d768f02fda7bb34cf95f5cbfaa7e21b') 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" }