You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.2 KiB
Bash

# Maintainer: Jerome Leclanche <jerome@leclan.ch>
6 years ago
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
6 years ago
pkgname=sway
6 years ago
pkgver=1.1
pkgrel=1
6 years ago
pkgdesc='Tiling Wayland compositor and replacement for the i3 window manager'
arch=(x86_64)
url='https://swaywm.org/'
license=(MIT)
6 years ago
depends=(cairo gdk-pixbuf2 json-c pango pcre ttf-font wlroots)
6 years ago
makedepends=(meson ninja scdoc wayland-protocols)
optdepends=(
6 years ago
'dmenu: for launching applications'
'i3status: display a status line'
'rxvt-unicode: default terminal emulator'
6 years ago
'xorg-server-xwayland: X11 support'
)
validpgpkeys=("9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A") # Drew DeVault
source=(
6 years ago
"$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"
"https://github.com/swaywm/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz.sig"
)
6 years ago
sha256sums=('2aeed6589b770acf18179c711a777c8defa93b14b2daaec6f2e06dc2940e5453'
6 years ago
'SKIP')
build() {
6 years ago
mkdir -p build
6 years ago
arch-meson build $pkgname-$pkgver -D werror=false -D b_ndebug=true
6 years ago
ninja -C build
}
package() {
6 years ago
DESTDIR="$pkgdir" ninja -C build install
install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
6 years ago
# vim: ts=2 sw=2 et