blob: d2793b76a70888bbf4f230871e13e7a558c696f0 (
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.1
pkgrel=0
pkgdesc="lua-configurable window manager framework"
url="http://awesome.naquadah.org/"
arch="x86 x86_64"
license="GPL"
depends="imagemagick lua-lgi"
makedepends="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 libxcursor-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="f528f66ddcdb07f24e6f494837371702 awesome-3.5.1.tar.xz"
sha256sums="71cd67ccf8b9c50f0142d6ab618172a01518ca3add2a0f6c245169baf9713218 awesome-3.5.1.tar.xz"
sha512sums="ca4bb133a20498dd01092bf6cc3b1e06c70f7ea047822cd88eba0b8c1999dfa6f94c2fd791527c15b2e6d96dc7651672ca9cf66a4eb68786142eedd4686c6198 awesome-3.5.1.tar.xz"
|