diff options
author | William Pitcock <nenolod@dereferenced.org> | 2017-03-29 05:59:08 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2017-03-29 05:59:08 +0000 |
commit | 181a4bc187f74d75328e25356a2a9475ce977090 (patch) | |
tree | b88b08fd25ef352801d2f87278c83592a6f480b2 /community/awesome | |
parent | 92fb88f0c1a10d6da54ca3aebbe8d569cde8644a (diff) | |
download | aports-181a4bc187f74d75328e25356a2a9475ce977090.tar.bz2 aports-181a4bc187f74d75328e25356a2a9475ce977090.tar.xz |
community/awesome: move from main
Diffstat (limited to 'community/awesome')
-rw-r--r-- | community/awesome/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/community/awesome/APKBUILD b/community/awesome/APKBUILD new file mode 100644 index 0000000000..a28067b268 --- /dev/null +++ b/community/awesome/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Ćukasz Jendrysik <scadu@yandex.com> +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=awesome +pkgver=3.5.9 +pkgrel=2 +pkgdesc="lua-configurable window manager framework" +url="http://awesome.naquadah.org/" +arch="all" +license="GPL2+" +depends="imagemagick lua5.1-lgi cairo-gobject pango" +makedepends="lua lua5.1 lua5.1-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 lua-doc gdk-pixbuf-dev xcb-util-cursor-dev" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.xz::https://github.com/awesomeWM/$pkgname-releases/raw/master/$pkgname-$pkgver.tar.xz" + +_srcdir="${srcdir}/${pkgname}-${pkgver}" +_builddir="${srcdir}/build" +prepare() { + local i + cd "$_srcdir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + mkdir "$_builddir" + cd "$_builddir" + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DSYSCONFDIR=/etc \ + -DCMAKE_BUILD_TYPE=Release \ + "$_srcdir" + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="62a0b5c6bd3baeb4879d7e8399e5ad87 awesome-3.5.9.tar.xz" +sha256sums="c7f8b5e4578751688d70ec8c410c55316e22bca8ec1195c622274f1f7254d64f awesome-3.5.9.tar.xz" +sha512sums="6a4c679b293e8cd85d1f7e13f6dea704cbb267e42b9260496a54b657a66d6148aae51521d802d61baaeb23df0d4a8ad0b28d9dc922ea5da2a347b4251cce5e25 awesome-3.5.9.tar.xz" |