diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-29 15:46:52 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-29 15:46:52 -0700 |
commit | 49d409bbac4a55480425bd6cdb8eb2906f8cb622 (patch) | |
tree | 5217de7d576fa4f9eeb7000aae080dab685198e2 | |
parent | d32ee5d2dcff2ced218c4953704b50a46b667194 (diff) | |
download | packages-49d409bbac4a55480425bd6cdb8eb2906f8cb622.tar.gz packages-49d409bbac4a55480425bd6cdb8eb2906f8cb622.tar.bz2 packages-49d409bbac4a55480425bd6cdb8eb2906f8cb622.tar.xz packages-49d409bbac4a55480425bd6cdb8eb2906f8cb622.zip |
user/awesome: new package
-rw-r--r-- | user/awesome/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/user/awesome/APKBUILD b/user/awesome/APKBUILD new file mode 100644 index 000000000..aba8a99cb --- /dev/null +++ b/user/awesome/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Łukasz Jendrysik <scadu@yandex.com> +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Dan Theisen <djt@hxx.in> +pkgname=awesome +pkgver=4.2 +pkgrel=0 +pkgdesc="lua-configurable window manager framework" +url="http://awesome.naquadah.org/" +arch="all" +license="GPL-2.0+" +options="!check" # Tests require X and D-Bus +depends="imagemagick lua-lgi cairo-gobject pango" +makedepends="lua5.3 lua5.3-dev libxcb-dev pango-dev cairo-dev cmake gperf glib-dev + imlib2-dev libxdg-basedir-dev libev-dev startup-notification-dev + xcb-util-keysyms-dev xcb-util-image-dev xcb-util-dev xcb-util-wm-dev + dbus-dev gdk-pixbuf-dev xcb-util-cursor-dev libxkbcommon-dev + xcb-util-xrm-dev libexecinfo-dev xmlto" +checkdepends="xorg-server-xephyr" +subpackages="$pkgname-doc" +source="https://github.com/awesomeWM/$pkgname-releases/raw/master/$pkgname-$pkgver.tar.xz" + +build() { + # Awesome does not support in-tree builds + mkdir -p "$builddir/build" + cd "$builddir/build" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DCMAKE_BUILD_TYPE=Release \ + -DLUA_INCLUDE_DIR=/usr/include/lua5.3 \ + -DLUA_LIBRARIES=/usr/lib/lua5.3/liblua.so \ + .. + make +} + +check() { + cd "$builddir/build" + make check +} + +package() { + cd "$builddir/build" + make DESTDIR="$pkgdir" install +} + +sha512sums="134dd3625c86243861b3d0701cc8bfd8c00986d7027f0832016c3f5e59e6b9a1ef2f677bb0d1d66ece63449533e4b13d8d7388e96e6f9014212030a79f163e09 awesome-4.2.tar.xz" |