summaryrefslogtreecommitdiff
path: root/~lukeshu/conkeror-git/SRCBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~lukeshu/conkeror-git/SRCBUILD')
-rw-r--r--~lukeshu/conkeror-git/SRCBUILD38
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}"
+}