aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-07-16 08:54:00 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-07-16 15:20:08 +0000
commit3fb2687a9984a9d38603dbb2a8231a214d2b9eac (patch)
tree8deca0ef1caef89783245822ee42a47bfbbfb0c4
parent0e2a778c9a2464bb38b2ca68e0b8a96ee99ca6dd (diff)
downloadaports-3fb2687a9984a9d38603dbb2a8231a214d2b9eac.tar.gz
aports-3fb2687a9984a9d38603dbb2a8231a214d2b9eac.tar.bz2
aports-3fb2687a9984a9d38603dbb2a8231a214d2b9eac.tar.xz
community/sway: upgrade to 1.5
-rw-r--r--community/sway/APKBUILD51
1 files changed, 12 insertions, 39 deletions
diff --git a/community/sway/APKBUILD b/community/sway/APKBUILD
index f963bce2ad..62158b6be2 100644
--- a/community/sway/APKBUILD
+++ b/community/sway/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=sway
-pkgver=1.4
-pkgrel=5
+pkgver=1.5
+pkgrel=0
pkgdesc="i3 compatible window manager for Wayland"
url="https://swaywm.org"
arch="all"
@@ -28,58 +28,31 @@ makedepends="cairo-dev
"
subpackages="
$pkgname-doc
- $pkgname-bash-completion:bashcomp:noarch
- $pkgname-fish-completion:fishcomp:noarch
- $pkgname-zsh-completion:zshcomp:noarch
+ $pkgname-bash-completion
+ $pkgname-zsh-completion
+ $pkgname-fish-completion
"
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/sway/archive/$pkgver.tar.gz
sway.desktop
"
build() {
- meson \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --buildtype=plain \
- . output
+ abuild-meson . output
ninja -C output
}
-bashcomp() {
- depends=""
- pkgdesc="Bash completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
-
- mkdir -p "$subpkgdir"/usr/share/
- mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share/
-}
-
-fishcomp() {
- depends=""
- pkgdesc="Fish completions for $pkgname"
- 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/completions
-}
-
-zshcomp() {
- depends=""
- pkgdesc="Zsh completions for $pkgname"
- install_if="$pkgname=$pkgver-r$pkgrel zsh"
-
- mkdir -p "$subpkgdir"/usr/share/zsh
- mv "$pkgdir"/usr/share/zsh/site-functions "$subpkgdir"/usr/share/zsh
-}
-
package() {
DESTDIR="$pkgdir" ninja -C output install
chmod u+s "$pkgdir"/usr/bin/sway
install -D -m644 "$srcdir"/sway.desktop \
"$pkgdir"/usr/share/wayland-sessions/sway.desktop
+
+ mkdir -p "$pkgdir"/usr/share/zsh "$pkgdir"/usr/share/fish
+ mv "$pkgdir"/usr/share/bash-completion "$pkgdir"/usr/share/
+ mv "$pkgdir"/usr/share/zsh/site-functions "$pkgdir"/usr/share/zsh
+ mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
}
-sha512sums="3b280bdfdbdae8fb9b4f555bc630c64e7c1d09f7b2c783b99413863a6b620d50cd2b6d10d63e11fdfb9c678fce9a403228ac52fa69fb52561ffbd06790505a71 sway-1.4.tar.gz
+sha512sums="702e44f8923a4ca05d831dd7ed76165654f113a8b2754d332c509ee844528f47c52b7f21deca78d4a79dad465cbcd0934574fff4ad9bb7a45aec3124dea5bca4 sway-1.5.tar.gz
c9bc08fbd9d059c037ad1e3b7ab5e91bcde27dce248cc558c1f126b01c85b1d0d4ed4bb10e3f27bc818a06e60a81f19478b95529d4eeb32036e2c6ea9f29db36 sway.desktop"