aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-29 17:44:58 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-29 17:46:14 +0100
commitb510c1c22a4785b9c9d3d2c21f85925a6f6f3db3 (patch)
tree06440c2a04dbba54c106352939aea3b2acf20d90
parentee856b3d21e9ef9a0db12c2b753e45e5020a75f4 (diff)
downloadaports-b510c1c22a4785b9c9d3d2c21f85925a6f6f3db3.tar.bz2
aports-b510c1c22a4785b9c9d3d2c21f85925a6f6f3db3.tar.xz
community/sway: fix location of fish completion
-rw-r--r--community/sway/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/community/sway/APKBUILD b/community/sway/APKBUILD
index cc23b05844..661df8ba8e 100644
--- a/community/sway/APKBUILD
+++ b/community/sway/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sway
pkgver=1.4
-pkgrel=0
+pkgrel=1
pkgdesc="i3 compatible window manager for Wayland"
url="http://swaywm.org"
arch="all"
@@ -31,12 +31,10 @@ subpackages="
$pkgname-fish-completion:fishcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch
"
-source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/sway/archive/$pkgver.tar.gz
"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
meson \
--prefix=/usr \
--sysconfdir=/etc \
@@ -61,7 +59,7 @@ fishcomp() {
install_if="$pkgname=$pkgver-r$pkgrel fish"
mkdir -p "$subpkgdir"/usr/share/fish
- mv "$pkgdir"/usr/share/fish/vendor_completions.d "$subpkgdir"/usr/share/fish
+ mv "$pkgdir"/usr/share/fish/vendor_completions.d "$subpkgdir"/usr/share/fish/completions
}
zshcomp() {
@@ -74,7 +72,6 @@ zshcomp() {
}
package() {
- cd "$builddir"
DESTDIR="$pkgdir" ninja -C output install
chmod u+s "$pkgdir"/usr/bin/sway
}