#!/bin/bash #DEP:expat #DEP:openssl NAME=libneon VER=0.28.2 PGMNAME=neon-$VER CWD=`pwd` PKGTMP=/tmp/pkgtmp mkdir -p $PKGTMP &>/dev/null tar -xzf $PGMNAME.tar.gz || exit 1 cd $PGMNAME || exit 1 ./configure --with-ssl --prefix=/usr || exit 1 make || exit 1 make DESTDIR=$PKGTMP install || exit 1 cd "$PKGTMP" || exit 1 makepkg -l y -c n $CWD/$NAME.pkg > /dev/null && echo $VER > $CWD/$NAME.version && arch > $CWD/$NAME.arch