[arch-commits] Commit in sway/repos/community-i686 (3 files)

Jerome Leclanche jleclanche at archlinux.org
Sun Mar 12 19:39:07 UTC 2017


    Date: Sunday, March 12, 2017 @ 19:39:07
  Author: jleclanche
Revision: 215879

archrelease: copy trunk to community-i686

Added:
  sway/repos/community-i686/PKGBUILD
    (from rev 215878, sway/trunk/PKGBUILD)
  sway/repos/community-i686/sway.install
    (from rev 215878, sway/trunk/sway.install)
Deleted:
  sway/repos/community-i686/sway.install

--------------+
 PKGBUILD     |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sway.install |   14 +++++++-------
 2 files changed, 56 insertions(+), 7 deletions(-)

Copied: sway/repos/community-i686/PKGBUILD (from rev 215878, sway/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-03-12 19:39:07 UTC (rev 215879)
@@ -0,0 +1,49 @@
+# $Id$
+
+pkgname=sway
+pkgver=0.12
+pkgrel=2
+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" "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=(
+	"d67d557fefa1d671af792fc4acba8257f8257b5e5b42ccf7a2fe29d44b93fc0e"
+	"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
+	make
+}
+
+package() {
+	cd build
+	DESTDIR="$pkgdir" make install
+	install -Dm644 "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: sway.install
===================================================================
--- sway.install	2017-03-12 19:37:18 UTC (rev 215878)
+++ sway.install	2017-03-12 19:39:07 UTC (rev 215879)
@@ -1,7 +0,0 @@
-post_install() {
-	setcap cap_sys_ptrace=eip /usr/bin/sway
-}
-
-post_upgrade() {
-	post_install $1
-}

Copied: sway/repos/community-i686/sway.install (from rev 215878, sway/trunk/sway.install)
===================================================================
--- sway.install	                        (rev 0)
+++ sway.install	2017-03-12 19:39:07 UTC (rev 215879)
@@ -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