forked from ports/contrib
30 lines
1012 B
Plaintext
30 lines
1012 B
Plaintext
# Description: tiling window manager initialy based on a dwm code rewriting
|
|
# URL: http://awesome.naquadah.org/
|
|
# Maintainer: Bartlomiej Palmowski, maks1k at wp dot pl
|
|
# Depends on: libconfuse cairo xorg-libxinerama pango imlib2 xorg-libxrandr
|
|
|
|
name=awesome
|
|
version=2.3.1
|
|
release=1
|
|
source=(http://awesome.naquadah.org/download/$name-$version.tar.bz2
|
|
http://maxiq.ovh.org/CRUX/$name-mans-$version.tar.gz)
|
|
|
|
build() {
|
|
prt-get listinst gtk >/dev/null 2>&1 && GTKFLAG="--with-gtk"
|
|
cd $name-$version
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--docdir=/usr/share/awesome \
|
|
$GTKFLAG
|
|
make AWESOME_CFLAGS="$CFLAGS"
|
|
make DESTDIR=$PKG install
|
|
rm -f $PKG/usr/share/awesome/{README,STYLE,UPGRADE}
|
|
# ugly 'if' :{
|
|
if grep -A1 "checking whether xmlto can create a man page" \
|
|
config.log | grep no >/dev/null 2>&1 ; then
|
|
cp $SRC/awesome{,-{client,menu,message}}.1 $PKG/usr/man/man1
|
|
cp $SRC/awesomerc.5 $PKG/usr/man/man5
|
|
fi
|
|
}
|