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.
|
|
|
|
|
|
|
pkgname=sway
|
|
|
|
pkgver=0.6
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="i3 compatible window manager for Wayland"
|
|
|
|
arch=("i686" "x86_64")
|
|
|
|
url="http://swaywm.org"
|
|
|
|
license=("MIT")
|
|
|
|
depends=(
|
|
|
|
"wlc" "xorg-server-xwayland" "json-c" "pango" "wayland" "gdk-pixbuf2"
|
|
|
|
)
|
|
|
|
optdepends=(
|
|
|
|
"rxvt-unicode: Default terminal emulator."
|
|
|
|
"dmenu: Default for launching applications."
|
|
|
|
"imagemagick: For taking screenshots."
|
|
|
|
"ffmpeg: For recording screencasts."
|
|
|
|
"i3status: To display system information with a bar."
|
|
|
|
)
|
|
|
|
makedepends=("cmake" "git" "asciidoc")
|
|
|
|
source=(
|
|
|
|
"$pkgname-$pkgver.tar.gz::https://github.com/SirCmpwn/$pkgname/archive/$pkgver.tar.gz"
|
|
|
|
"$pkgname-$pkgver.tar.gz::https://github.com/SirCmpwn/$pkgname/archive/$pkgver.tar.gz.sig"
|
|
|
|
)
|
|
|
|
sha256sums=(
|
|
|
|
"a9159033ca3e976383cc9485bcb10fe89485711c4577d8c7414d8f23c56e54ea"
|
|
|
|
"SKIP"
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p build
|
|
|
|
cd build
|
|
|
|
cmake "$srcdir/$pkgname-$pkgver" \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
DESTDIR="$pkgdir" make install
|
|
|
|
install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
|
|
}
|