diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-01-12 12:15:29 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-01-12 12:15:29 -0300 |
commit | b19a2a83f67736ae7ad359aece93b9171ecc7611 (patch) | |
tree | 6ade7f03ee7ee28f6e154ec1d037153e12cc3f4e /~fauno/vala-notmuch/SRCBUILD | |
parent | c083fb1dc77fd230f04c38b160a4ce53fd670a63 (diff) | |
download | abslibre-b19a2a83f67736ae7ad359aece93b9171ecc7611.tar.gz abslibre-b19a2a83f67736ae7ad359aece93b9171ecc7611.tar.bz2 abslibre-b19a2a83f67736ae7ad359aece93b9171ecc7611.zip |
~fauno/vala-notmuch-20120112-1
Diffstat (limited to '~fauno/vala-notmuch/SRCBUILD')
-rw-r--r-- | ~fauno/vala-notmuch/SRCBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
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: |