# Maintainer: Kazuo Teramoto pkgname=afew pkgver=20111222 pkgrel=1 pkgdesc="afew is an initial tagging script for notmuch mail" arch=(any) url="https://github.com/teythoon/afew" license=('custom:BSD') makedepends=('git') _gitroot='https://github.com/teythoon/afew.git' _gitname='afew' build() { cd "$srcdir" msg "Connecting to GIT server...." if [[ -d "$_gitname" ]]; then cd "$_gitname" && git pull origin msg "The local files are updated." else git clone "$_gitroot" "$_gitname" fi msg "GIT checkout done or server timeout" } package() { PKGEXT=${SRCEXT} PKGDEST=${SRCDEST} cp -a ${srcdir}/* ${pkgdir}/ } # vim:set ts=2 sw=2 et: