From b3288f94e625603d6b5b23740b721287e75eead7 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 27 Dec 2011 23:14:54 +0000 Subject: Tue Dec 27 23:14:54 UTC 2011 --- ~fauno/afew/LICENSE | 15 +++++++++++++++ ~fauno/afew/PKGBUILD | 29 +++++++++++++++++++++++++++++ ~fauno/afew/SRCBUILD | 36 ++++++++++++++++++++++++++++++++++++ ~fauno/dbacl/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 ~fauno/afew/LICENSE create mode 100644 ~fauno/afew/PKGBUILD create mode 100644 ~fauno/afew/SRCBUILD create mode 100644 ~fauno/dbacl/PKGBUILD (limited to '~fauno') 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 +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 +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