diff options
Diffstat (limited to '~fauno')
-rw-r--r-- | ~fauno/vala-notmuch/PKGBUILD | 31 | ||||
-rw-r--r-- | ~fauno/vala-notmuch/SRCBUILD | 39 | ||||
-rw-r--r-- | ~fauno/vala-notmuch/vala-notmuch.install | 6 |
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)" +} |