28 lines
887 B
Text
28 lines
887 B
Text
|
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=('7ba7b819e1274265e67040a97ff17adb4483afda188e5e66b9a4c0517a553f09')
|
||
|
|
||
|
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"
|
||
|
}
|