summaryrefslogtreecommitdiff
path: root/~lukeshu/conkeror-git/SRCBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-02-28 02:24:59 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-02-28 02:24:59 -0500
commit0dd021f56a8c6682d00fb0cd9e8e967fed0fad7f (patch)
tree66a8c7baa1fdfaec69437ea45f2d0ad5fc6fa9c3 /~lukeshu/conkeror-git/SRCBUILD
parent7275399e96c64abc852c3746aa58d10bee8a5a44 (diff)
downloadabslibre-0dd021f56a8c6682d00fb0cd9e8e967fed0fad7f.tar.gz
abslibre-0dd021f56a8c6682d00fb0cd9e8e967fed0fad7f.tar.bz2
abslibre-0dd021f56a8c6682d00fb0cd9e8e967fed0fad7f.zip
conkeror has been moved form Arch's [community] to AUR, so I'm adopting it in [~lukeshu]
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}"
+}