[arch-commits] Commit in sway/repos (4 files)
Jelle van der Waa
jelle at archlinux.org
Fri Dec 29 14:26:11 UTC 2017
Date: Friday, December 29, 2017 @ 14:26:10
Author: jelle
Revision: 276864
db-move: moved sway from [community-staging] to [community-testing] (x86_64)
Added:
sway/repos/community-testing-x86_64/
sway/repos/community-testing-x86_64/PKGBUILD
(from rev 276863, sway/repos/community-staging-x86_64/PKGBUILD)
sway/repos/community-testing-x86_64/sway.install
(from rev 276863, sway/repos/community-staging-x86_64/sway.install)
Deleted:
sway/repos/community-staging-x86_64/
--------------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
sway.install | 7 +++++++
2 files changed, 57 insertions(+)
Copied: sway/repos/community-testing-x86_64/PKGBUILD (from rev 276863, sway/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-12-29 14:26:10 UTC (rev 276864)
@@ -0,0 +1,50 @@
+# $Id$
+
+pkgname=sway
+pkgver=0.15.1
+pkgrel=2
+pkgdesc="i3 compatible window manager for Wayland"
+arch=("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" "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"
+)
+install="$pkgname.install"
+sha256sums=(
+ "b4305581587b1072f5cb61387230aaf731ea9ea0d01fdf198856a757e2195149"
+ "SKIP"
+)
+validpgpkeys=(
+ "9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A"
+)
+
+
+build() {
+ mkdir -p build
+ cd build
+ cmake "$srcdir/$pkgname-$pkgver" \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DVERSION="$pkgver"
+ make
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" make install
+ install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
Copied: sway/repos/community-testing-x86_64/sway.install (from rev 276863, sway/repos/community-staging-x86_64/sway.install)
===================================================================
--- community-testing-x86_64/sway.install (rev 0)
+++ community-testing-x86_64/sway.install 2017-12-29 14:26:10 UTC (rev 276864)
@@ -0,0 +1,7 @@
+post_install() {
+ setcap cap_sys_ptrace=eip /usr/bin/sway
+}
+
+post_upgrade() {
+ post_install $1
+}
More information about the arch-commits
mailing list