summaryrefslogtreecommitdiff
path: root/~fauno
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-22 12:51:07 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-22 12:51:07 -0300
commit6c7f86b2082ba0a04d516868fd97444b4ca6ecf9 (patch)
tree96050d62d79b85dc26a3af25f2545ef12ac1aebd /~fauno
parent09a67e4763bf60bc963504acca8799295a217d65 (diff)
~fauno/afew-2011.12.1-1
Diffstat (limited to '~fauno')
-rw-r--r--~fauno/afew/LICENSE15
-rw-r--r--~fauno/afew/PKGBUILD29
-rw-r--r--~fauno/afew/SRCBUILD36
3 files changed, 80 insertions, 0 deletions
diff --git a/~fauno/afew/LICENSE b/~fauno/afew/LICENSE
new file mode 100644
index 000000000..aab8c3624
--- /dev/null
+++ b/~fauno/afew/LICENSE
@@ -0,0 +1,15 @@
+#
+# Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de>
+#
+# Permission to use, copy, modify, and distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
diff --git a/~fauno/afew/PKGBUILD b/~fauno/afew/PKGBUILD
new file mode 100644
index 000000000..c03ccc7c8
--- /dev/null
+++ b/~fauno/afew/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com>
+pkgname=afew
+pkgver=2011.12.1
+_gitver=20111222
+pkgrel=1
+pkgdesc="afew is an initial tagging script for notmuch mail"
+arch=(any)
+url="https://github.com/teythoon/afew"
+license=('custom:BSD')
+depends=('python2' 'notmuch' 'dbacl')
+source=("https://repo.parabolagnulinux.org/other/${pkgname}-${_gitver}-${pkgrel}-any.src.tar.gz"
+ 'LICENSE')
+
+build() {
+ cd "$srcdir/$pkgname"
+
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ python2 setup.py install --prefix="$pkgdir/usr"
+
+ install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('e99de6dc7390e22701fa60cfed1a52b8'
+ '295b245540aa61538f9a3556c4be846c')
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:
+