diff options
author | root <root@rshg054.dnsready.net> | 2011-12-27 23:14:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-27 23:14:54 +0000 |
commit | b3288f94e625603d6b5b23740b721287e75eead7 (patch) | |
tree | eff707b86ebe69b25cbd9f7b6549e7d8d76f4e46 /~fauno/afew/SRCBUILD | |
parent | 342100843ef3e4379443c526403fac1b1cb6416a (diff) |
Tue Dec 27 23:14:54 UTC 2011
Diffstat (limited to '~fauno/afew/SRCBUILD')
-rw-r--r-- | ~fauno/afew/SRCBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
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 <kaz.rag at gmail.com> +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: + |