summaryrefslogtreecommitdiff
path: root/~fauno/vala-notmuch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
committerroot <root@rshg054.dnsready.net>2012-01-22 23:15:13 +0000
commit164067832916c8e59219e1b0f30d7d04618a536e (patch)
tree5ec718dc77dfccfcdb1409707658bef3fb421ac4 /~fauno/vala-notmuch
parenta1922d0ec660fdc1892f2783515f781c090df0a9 (diff)
Sun Jan 22 23:15:13 UTC 2012
Diffstat (limited to '~fauno/vala-notmuch')
-rw-r--r--~fauno/vala-notmuch/PKGBUILD31
-rw-r--r--~fauno/vala-notmuch/SRCBUILD39
-rw-r--r--~fauno/vala-notmuch/vala-notmuch.install6
3 files changed, 76 insertions, 0 deletions
diff --git a/~fauno/vala-notmuch/PKGBUILD b/~fauno/vala-notmuch/PKGBUILD
new file mode 100644
index 000000000..0e97683a4
--- /dev/null
+++ b/~fauno/vala-notmuch/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk
+
+pkgname=vala-notmuch
+pkgver=20120112
+pkgrel=1
+pkgdesc="a notmuch address book in vala"
+url="https://github.com/spaetz/vala-notmuch"
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL2')
+makedepends=('vala')
+depends=('notmuch')
+install=vala-notmuch.install
+source=("https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}/src"
+
+ ./make
+
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -D -m755 src/addrlookup ${pkgdir}/usr/bin/addrlookup
+
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('99e264c0cb36e0a0f18048fb2ebd07e0')
+md5sums=('ca73980225368309119cf17ff5b3f3c4')
diff --git a/~fauno/vala-notmuch/SRCBUILD b/~fauno/vala-notmuch/SRCBUILD
new file mode 100644
index 000000000..89b6c67ba
--- /dev/null
+++ b/~fauno/vala-notmuch/SRCBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk
+
+pkgname=vala-notmuch
+pkgver=20120112
+pkgrel=1
+pkgdesc="A notmuch address book in vala"
+url="https://github.com/spaetz/vala-notmuch"
+arch=('any')
+license=('GPL2')
+makedepends=('git')
+
+_gitroot="https://github.com/spaetz/vala-notmuch.git"
+_gitname="${pkgname}"
+
+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() {
+ cd ${pkgdir}
+ export PKGDEST=${SRCDEST}
+ export PKGEXT=.src.tar.xz
+
+ git clone ${srcdir}/${pkgname} ${pkgname}-${pkgver}
+
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/~fauno/vala-notmuch/vala-notmuch.install b/~fauno/vala-notmuch/vala-notmuch.install
new file mode 100644
index 000000000..d1ce89da6
--- /dev/null
+++ b/~fauno/vala-notmuch/vala-notmuch.install
@@ -0,0 +1,6 @@
+post_install() {
+echo "To use within emacs, add the following to your .emacs:"
+echo "(require 'notmuch-address)"
+echo "(setq notmuch-address-command "/usr/bin/addrlookup")"
+echo "(notmuch-address-message-insinuate)"
+}