switch to local source for pkgbuild

This commit is contained in:
askiiart 2024-10-01 10:30:39 -05:00
parent 589fb91141
commit 4bd15d7c32
Signed by untrusted user who does not match committer: askiiart
GPG key ID: EA85979611654C30
2 changed files with 5 additions and 5 deletions

3
.gitignore vendored Normal file → Executable file
View file

@ -1,2 +1,3 @@
src/ src/
pkg/ pkg/
*.pkg.tar.zst

View file

@ -6,16 +6,15 @@ pkgdesc="A script to mount a user's encrypted home partition and start sway"
arch=(any) arch=(any)
url='https://git.askiiart.net/askiiart/mnt-and-sway' url='https://git.askiiart.net/askiiart/mnt-and-sway'
license=('GPL-3.0-only') license=('GPL-3.0-only')
depends=(cryptsetup sway) depends=('cryptsetup' 'sway')
# it wouldn't work so i give up # it wouldn't work so i give up
source=("https://git.askiiart.net/askiiart/mnt-and-sway/archive/v${pkgver}.tar.gz") source=('mnt-and-sway' 'mnt-and-sway.desktop')
sha256sums=('821b24fb36ed557ebb669bb3cde1d3809d768f02fda7bb34cf95f5cbfaa7e21b') sha256sums=('1a1498356c6f2e39ec31b17d4c3d79dac6660690a9ecf8f123cf0c73a4dab393' 'ac773b4ea037cc2575a8957cb9912f5d51a8a95228e98fcb8a7a1a7cd6b4176e')
package() { package() {
mkdir -p -m 755 $pkgdir/usr/bin/ mkdir -p -m 755 $pkgdir/usr/bin/
mkdir -p -m 755 $pkgdir/usr/share/wayland-sessions/ mkdir -p -m 755 $pkgdir/usr/share/wayland-sessions/
cd mnt-and-sway/
cp ./mnt-and-sway $pkgdir/usr/bin/ cp ./mnt-and-sway $pkgdir/usr/bin/
chmod 755 $pkgdir/usr/bin/mnt-and-sway chmod 755 $pkgdir/usr/bin/mnt-and-sway
cp ./mnt-and-sway.desktop $pkgdir/usr/share/wayland-sessions/ cp ./mnt-and-sway.desktop $pkgdir/usr/share/wayland-sessions/