diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-03-01 15:14:35 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-03-01 15:14:35 -0300 |
commit | 69b78ed95efd699c0dfbe588457234eee3ae9d9c (patch) | |
tree | 15b1c2902f0c430d015c9fc70ec7db6c042528f7 /~lukeshu/conkeror-git/SRCBUILD | |
parent | d7d39087e97e5a5ff1ab2c40db618934633b594c (diff) | |
parent | b5ef7ef5b393a1862d781791b9aa998d20636f59 (diff) | |
download | abslibre-69b78ed95efd699c0dfbe588457234eee3ae9d9c.tar.gz abslibre-69b78ed95efd699c0dfbe588457234eee3ae9d9c.tar.bz2 abslibre-69b78ed95efd699c0dfbe588457234eee3ae9d9c.zip |
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to '~lukeshu/conkeror-git/SRCBUILD')
-rw-r--r-- | ~lukeshu/conkeror-git/SRCBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/~lukeshu/conkeror-git/SRCBUILD b/~lukeshu/conkeror-git/SRCBUILD new file mode 100644 index 000000000..d02b9eaf1 --- /dev/null +++ b/~lukeshu/conkeror-git/SRCBUILD @@ -0,0 +1,38 @@ +# Maintainer (parabola): Luke Shumaker <lukeshu@sbcglobal.net +# Maintainer (aur): Ivy Foster <joyfulgirl@archlinux.us> +# Maintainer (k[community]): Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: Heeru Kiyura <M8R-p9i5nh@mailinator.com> + +pkgname=conkeror-git +pkgver=20120228 +pkgrel=1 +pkgdesc="A highly programmable web browser based on Mozilla XULRunner." +arch=('any') +url="http://conkeror.mozdev.org/" +license=('MPL' 'GPL' 'LGPL') +makedepends=('git') +changelog=ChangeLog + +_gitroot="git://repo.or.cz/conkeror.git" +_gitname="conkeror" + +build() { + cd "$srcdir" + + ## Git checkout + if [ -d "$srcdir"/${_gitname} ] ; then + msg "Git checkout: Updating existing tree" + cd ${_gitname} && git pull origin master + msg "Git checkout: Tree has been updated" + else + msg "Git checkout: Retrieving sources" + git clone ${_gitroot} && cd ${_gitname} + fi + msg "Checkout completed" +} + +package() { + PKGEXT=${SRCEXT} + PKGDEST=${SRCDEST} + cp -a "${srcdir}"/* "${pkgdir}" +} |