aboutsummaryrefslogtreecommitdiffstats
path: root/community/awesome/APKBUILD
blob: 806b058cd9174ac5943c15f89b6f03b544c4d83c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=awesome
pkgver=4.3
pkgrel=3
pkgdesc="lua-configurable window manager framework"
url="https://awesomewm.org/"
arch="all"
license="GPL-2.0-or-later"
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 libxkbcommon-dev
	xcb-util-xrm-dev"
subpackages="$pkgname-doc"
options="!check" # No test suite
source="$pkgname-$pkgver.tar.xz::https://github.com/awesomeWM/awesome-releases/raw/master/awesome-$pkgver.tar.xz"

build() {
	export CFLAGS="$CFLAGS -fcommon"
	cmake -B build \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DSYSCONFDIR=/etc \
		-DCMAKE_BUILD_TYPE=MinSizeRel
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="c5ef1e8dc593e7783b895d22143154aea8f211beeda24672a7ee4ed5112b4f4284043f848a151f3d3c4f569e91308670367a4353f705b20511b36495b22fa3f5  awesome-4.3.tar.xz"