summaryrefslogtreecommitdiff
path: root/~lukeshu/conkeror-git/SRCBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /~lukeshu/conkeror-git/SRCBUILD
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
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}"
+}