Initial commit - PKGBUILD may not work yet; gonna keep updating PKGBUILD and Makefile until they work
This commit is contained in:
commit
1cb6e99991
5 changed files with 713 additions and 0 deletions
27
PKGBUILD
Executable file
27
PKGBUILD
Executable file
|
@ -0,0 +1,27 @@
|
|||
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"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue