blob: 95bc6e7c7acd440d9d1e266f8283267c3f525d29 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=awesome
pkgver=3.5.5
pkgrel=0
pkgdesc="lua-configurable window manager framework"
url="http://awesome.naquadah.org/"
arch="x86 x86_64"
license="GPL2+"
depends="imagemagick lua-lgi"
makedepends="lua lua-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="http://awesome.naquadah.org/download/${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"
[ "$ALPINE_LIBC" != "eglibc" ] && local _iconv="-liconv"
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DCMAKE_BUILD_TYPE=Release \
-DAWESOME_OPTIONAL_LDFLAGS=$_iconv \
"$_srcdir"
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="48a00b747f0279e6164d8b7e9c964346 awesome-3.5.5.tar.xz"
sha256sums="bf30dbd7c4621742b2565919404f009588ea482574ddb85aaa5301bce5258d47 awesome-3.5.5.tar.xz"
sha512sums="2ca9af95afb8d07369da89c18f34889158dc387c570ac5f591ee05c1867d6a88197e02c29fae6666d3b684ed9a783d5bcfae995c98cbf0a5e29237f317d2870f awesome-3.5.5.tar.xz"
|