From b19a2a83f67736ae7ad359aece93b9171ecc7611 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 12 Jan 2012 12:15:29 -0300 Subject: ~fauno/vala-notmuch-20120112-1 --- ~fauno/vala-notmuch/SRCBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 ~fauno/vala-notmuch/SRCBUILD (limited to '~fauno/vala-notmuch/SRCBUILD') 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: -- cgit v1.2.3-54-g00ecf