summaryrefslogtreecommitdiff
path: root/~fauno/afew/SRCBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~fauno/afew/SRCBUILD')
-rw-r--r--~fauno/afew/SRCBUILD36
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:
+