diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-27 14:40:08 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-27 14:40:21 -0600 |
commit | c574610d3f0080448d834cad0516bfb919557f7b (patch) | |
tree | 4f26e32a5442ed67affc71e3114dd50a6b49e519 /testing/awesome | |
parent | a3d48433aff97732f9755a68282c952fd41adcca (diff) | |
download | aports-c574610d3f0080448d834cad0516bfb919557f7b.tar.bz2 aports-c574610d3f0080448d834cad0516bfb919557f7b.tar.xz |
testing/awesome: new aport
Diffstat (limited to 'testing/awesome')
-rw-r--r-- | testing/awesome/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/awesome/APKBUILD b/testing/awesome/APKBUILD new file mode 100644 index 000000000..1b64807eb --- /dev/null +++ b/testing/awesome/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=awesome +pkgver=3.4.9 +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" +install="" +subpackages="$pkgname-doc" +source="http://awesome.naquadah.org/download/${pkgname}-${pkgver}.tar.bz2" + +_srcdir="${srcdir}/${pkgname}-${pkgver}" +_builddir="${srcdir}/build" +prepare() { + local i + cd "$_builddir" + 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 -DPREFIX=/usr -DSYSCONFDIR=/etc "$_srcdir" + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="a3e8f22fb4d17dd1cda90b354be84d6f awesome-3.4.9.tar.bz2" |