# Description: A command line address book # URL: http://abook.sourceforge.net/ # Packager: Aaron Ball name=abook version=0_6_1 release=1 source=() gitsource=http://git.code.sf.net/p/abook/git gitsetup() { if [[ -d ${name} ]]; then cd ${name} git reset --hard git pull ${gitsource} else git clone ${gitsource} ${name} cd ${name} fi # Used to check out a tag git checkout ver_${version} } build () { gitsetup ./configure --prefix=/usr --disable-nls make make DESTDIR=$PKG install } # vim: set ft=sh ts=2 et: