summaryrefslogtreecommitdiff
path: root/build-scripts
diff options
context:
space:
mode:
authorErik Reider <[email protected]>2022-11-14 17:12:43 +0100
committerWill McKinnon <[email protected]>2022-11-14 17:58:48 -0500
commitffaab52752681c2734e208966526b167e3c59c56 (patch)
tree04e34f48d044af999945c9227fc3c7ec6c281ee9 /build-scripts
parent6c1a3ec2f77ef84a4c3f5f9fe9fb792a9094dc80 (diff)
Updated build scripts
Co-authored-by: Erik Reider <[email protected]>
Diffstat (limited to 'build-scripts')
-rw-r--r--build-scripts/aur/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-scripts/aur/PKGBUILD b/build-scripts/aur/PKGBUILD
index bf8ae551..27adc325 100644
--- a/build-scripts/aur/PKGBUILD
+++ b/build-scripts/aur/PKGBUILD
@@ -42,7 +42,7 @@ optdepends=(
backup=(etc/sway/config)
arch=("i686" "x86_64")
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)
sha512sums=(
"SKIP"
@@ -56,7 +56,7 @@ build() {
arch-meson \
-Dsd-bus-provider=libsystemd \
-Dwerror=false \
- "$_pkgname" build
+ "${_pkgname}-${pkgver}" build
meson compile -C build
}
@@ -65,7 +65,7 @@ package() {
DESTDIR="$pkgdir" meson install -C build
- cd "$_pkgname"
+ cd "${_pkgname}-${pkgver}"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
for util in autoname-workspaces.py inactive-windows-transparency.py grimshot; do
install -Dm755 "contrib/$util" -t "$pkgdir/usr/share/$pkgname/scripts"