aboutsummaryrefslogblamecommitdiffstats
path: root/testing/awesome/APKBUILD
blob: a11eae19aa8a26ebb78c48b8af3e094ffc3dfa53 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                         
                                                   
               
             
        




                                                   

                                                                        

                                                                            

                          
                                                                         

                              
         




                                        
                     


















                                                                        


                                                                 
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=awesome
pkgver=3.4.11
pkgrel=1
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"
install=""
subpackages="$pkgname-doc"
source="http://awesome.naquadah.org/download/${pkgname}-${pkgver}.tar.bz2
	awesome-glib-fix.patch
	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 -DPREFIX=/usr -DSYSCONFDIR=/etc "$_srcdir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="cca11acbe9252121b10e969fce66e641  awesome-3.4.11.tar.bz2
7a3384627fe90b3a8f21d426b9026c9b  awesome-glib-fix.patch
78d1ab9037c1dae956ffe239083596a2  iconv.patch"