diff options
author | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
commit | 32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (patch) | |
tree | 60ba7e9c94b5ea69643a2022cd2ff890958da0f9 /~lukeshu/conkeror-git/SRCBUILD | |
parent | 1f567a9d58d16b76320168f0624aa55bd6320284 (diff) |
Wed Feb 29 03:34:34 UTC 2012
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}" +} |