summaryrefslogtreecommitdiff
path: root/~fauno
diff options
context:
space:
mode:
Diffstat (limited to '~fauno')
-rw-r--r--~fauno/afew/LICENSE15
-rw-r--r--~fauno/afew/PKGBUILD29
-rw-r--r--~fauno/afew/SRCBUILD36
-rw-r--r--~fauno/dbacl/PKGBUILD32
4 files changed, 112 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:
+
diff --git a/~fauno/dbacl/PKGBUILD b/~fauno/dbacl/PKGBUILD
new file mode 100644
index 000000000..a92679444
--- /dev/null
+++ b/~fauno/dbacl/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com?
+pkgname=dbacl
+pkgver=1.12
+pkgrel=1
+pkgdesc="Digramic Bayesian classifier"
+arch=('i686' 'x86_64')
+url="http://dbacl.sourceforge.net/"
+license=('GPL')
+depends=('gawk' 'perl')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('048d8cf68e277ba2ab5d159dc395a65d')
+sha256sums=('9fcb05a0951527c7b33aeb20735747f84bca88a4e122c93537120d1014f650e9')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+ mv "$pkgdir/usr/man" "$pkgdir/usr/share"
+}
+
+# vim:set ts=2 sw=2 et: