diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-16 09:57:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-16 09:57:05 +0000 |
commit | 324831e86fc345017fffa2fa8c1495cb05e12daf (patch) | |
tree | b9c5fed7f3d448a51bebfbdb60077c92fb5862ab /main/awesome | |
parent | 5d164ec4c1104d8400a95521a8f7378c949d95d8 (diff) | |
download | aports-324831e86fc345017fffa2fa8c1495cb05e12daf.tar.bz2 aports-324831e86fc345017fffa2fa8c1495cb05e12daf.tar.xz |
main/awesome: move from testing and upgrade to 3.4.13
Diffstat (limited to 'main/awesome')
-rw-r--r-- | main/awesome/APKBUILD | 49 | ||||
-rw-r--r-- | main/awesome/iconv.patch | 10 |
2 files changed, 59 insertions, 0 deletions
diff --git a/main/awesome/APKBUILD b/main/awesome/APKBUILD new file mode 100644 index 000000000..02f08d24e --- /dev/null +++ b/main/awesome/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=awesome +pkgver=3.4.13 +pkgrel=0 +pkgdesc="lua-configurable window manager framework" +url="http://awesome.naquadah.org/" +arch="all" +license="GPL" +depends="imagemagick" +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" +install="" +subpackages="$pkgname-doc" +source="http://awesome.naquadah.org/download/${pkgname}-${pkgver}.tar.xz + iconv.patch + " + +_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="8449fde51c08ca69fe4c5bb831b3c618 awesome-3.4.13.tar.xz +78d1ab9037c1dae956ffe239083596a2 iconv.patch" diff --git a/main/awesome/iconv.patch b/main/awesome/iconv.patch new file mode 100644 index 000000000..3f6030024 --- /dev/null +++ b/main/awesome/iconv.patch @@ -0,0 +1,10 @@ +--- ./CMakeLists.txt.orig ++++ ./CMakeLists.txt +@@ -99,6 +99,7 @@ + LINK_FLAGS -export-dynamic) + + target_link_libraries(${PROJECT_AWE_NAME} ++ -liconv + ${AWESOME_COMMON_REQUIRED_LDFLAGS} + ${AWESOME_REQUIRED_LDFLAGS} + ${AWESOME_OPTIONAL_LDFLAGS}) |