# Description: strona domowa "\(0,o)/"
# URL:         http://maxiq.ovh.org
# Maintainer:  Bartlomiej Palmowski, maks1k at wp dot pl
# Depends on:  web_browser

name=maxiq.ovh.org
version=0.1
release=1
source=(http://$name/index)

build() {
    cd $name-$version
    
    if prt-get listinst crux >/dev/null 2>&1 ; then
        echo http://crux.nu/
    elif pacman -Q archlinux >/dev/null 2>&1 ; then
        echo http://archlinux.pl/
    fi
        
    patch -p1 -i ../newsy.patch
    ./configure \
        --about-author \
        --with-images \
        --with-funny-movies \
        --with-favourite-quotes \
        --enable-links \
        --enable-flash \
        --enable-random-stuff
        
    make
    make DESTDIR=$PKG install
    
    rm -rf $PKG/old_site
}