From 6c7f86b2082ba0a04d516868fd97444b4ca6ecf9 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 22 Dec 2011 12:51:07 -0300 Subject: ~fauno/afew-2011.12.1-1 --- ~fauno/afew/SRCBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ~fauno/afew/SRCBUILD (limited to '~fauno/afew/SRCBUILD') diff --git a/~fauno/afew/SRCBUILD b/~fauno/afew/SRCBUILD new file mode 100644 index 000000000..eea293021 --- /dev/null +++ b/~fauno/afew/SRCBUILD @@ -0,0 +1,36 @@ +# 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: + -- cgit v1.2.3