summaryrefslogtreecommitdiff
path: root/~fauno/afew
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-27 23:14:54 +0000
committerroot <root@rshg054.dnsready.net>2011-12-27 23:14:54 +0000
commitb3288f94e625603d6b5b23740b721287e75eead7 (patch)
treeeff707b86ebe69b25cbd9f7b6549e7d8d76f4e46 /~fauno/afew
parent342100843ef3e4379443c526403fac1b1cb6416a (diff)
Tue Dec 27 23:14:54 UTC 2011
Diffstat (limited to '~fauno/afew')
-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:
+