aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sway
diff options
context:
space:
mode:
authorDaniel Sabogal <dsabogalcc@gmail.com>2016-10-01 20:38:47 -0400
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-19 16:10:59 +0000
commit0c4b8450c98e89a9590dfce0e709f594366d47e1 (patch)
tree4450b083b0e9cbcfdf89f03baedecfb9cdeac8c5 /testing/sway
parente69bf6cc4cee02b6178d8cf25b93b31e39d8b5d4 (diff)
downloadaports-0c4b8450c98e89a9590dfce0e709f594366d47e1.tar.bz2
aports-0c4b8450c98e89a9590dfce0e709f594366d47e1.tar.xz
testing/sway: new aport
http://swaywm.org i3 compatible window manager for Wayland
Diffstat (limited to 'testing/sway')
-rw-r--r--testing/sway/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/sway/APKBUILD b/testing/sway/APKBUILD
new file mode 100644
index 0000000000..dd14bf9bb1
--- /dev/null
+++ b/testing/sway/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
+# Maintainer:
+pkgname=sway
+pkgver=0.9
+pkgrel=0
+pkgdesc="i3 compatible window manager for Wayland"
+url="http://swaywm.org"
+arch="all"
+license="MIT"
+depends="libxcursor"
+makedepends="asciidoc cmake gdk-pixbuf json-c-dev libinput-dev libxkbcommon-dev
+ pango-dev wayland-dev wlc-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/SirCmpwn/$pkgname/archive/$pkgver.tar.gz"
+
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir/" install || return 1
+
+ install -d "$pkgdir"/usr/share/man/man1
+ install -d "$pkgdir"/usr/share/man/man5
+ install -m644 bin/*.1 "$pkgdir"/usr/share/man/man1/ || return 1
+ install -m644 bin/*.5 "$pkgdir"/usr/share/man/man5/ || return 1
+}
+
+md5sums="50bdbcc513958f215b4790ebdcde46f5 sway-0.9.tar.gz"
+sha256sums="dc98fe5abd084dbf059fdf19b5b40e44b5c7ac75a5b704b47a6b53c9f489f42d sway-0.9.tar.gz"
+sha512sums="546af976379f50314567472766fe801dc15e84057bc1bd4d8b9b8c02ddc897ce3ece264a429bcc7c44f6fa2f7a58ed65f92d5a194951297c5d37dbb8085658cf sway-0.9.tar.gz"