mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
Fixed PKGBUILD stable not downloading, building and packaging
This commit is contained in:
parent
6c1a3ec2f7
commit
b543fd4a64
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,6 +8,7 @@ test/
|
||||||
build/
|
build/
|
||||||
build-*/
|
build-*/
|
||||||
!build-scripts
|
!build-scripts
|
||||||
|
!build-scripts/*
|
||||||
.lvimrc
|
.lvimrc
|
||||||
config-debug
|
config-debug
|
||||||
wayland-*-protocol.*
|
wayland-*-protocol.*
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ optdepends=(
|
||||||
backup=(etc/sway/config)
|
backup=(etc/sway/config)
|
||||||
arch=("i686" "x86_64")
|
arch=("i686" "x86_64")
|
||||||
url="https://github.com/WillPower3309/swayfx"
|
url="https://github.com/WillPower3309/swayfx"
|
||||||
source=("${url}/releases/download/$pkgver/swayfx-$pkgver.tar.gz"
|
source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/$pkgver.tar.gz"
|
||||||
50-systemd-user.conf)
|
50-systemd-user.conf)
|
||||||
sha512sums=(
|
sha512sums=(
|
||||||
"SKIP"
|
"SKIP"
|
||||||
|
|
@ -56,7 +56,7 @@ build() {
|
||||||
arch-meson \
|
arch-meson \
|
||||||
-Dsd-bus-provider=libsystemd \
|
-Dsd-bus-provider=libsystemd \
|
||||||
-Dwerror=false \
|
-Dwerror=false \
|
||||||
"$_pkgname" build
|
"${_pkgname}-${pkgver}" build
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -65,7 +65,7 @@ package() {
|
||||||
|
|
||||||
DESTDIR="$pkgdir" meson install -C build
|
DESTDIR="$pkgdir" meson install -C build
|
||||||
|
|
||||||
cd "$_pkgname"
|
cd "${_pkgname}-${pkgver}"
|
||||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||||
for util in autoname-workspaces.py inactive-windows-transparency.py grimshot; do
|
for util in autoname-workspaces.py inactive-windows-transparency.py grimshot; do
|
||||||
install -Dm755 "contrib/$util" -t "$pkgdir/usr/share/$pkgname/scripts"
|
install -Dm755 "contrib/$util" -t "$pkgdir/usr/share/$pkgname/scripts"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue