summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-05-26 03:06:15 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-05-26 03:06:15 -0400
commitde4f0d5e3c54d11f8ef1fa859bc64089924b1bbc (patch)
treed2dbbfd8736773680fbf7c1e9b377c40550800e3 /pcr
parent0e29ad35b8f4d4f2a6155fbd76320ca9e5afaa3f (diff)
mv ~lukeshu/conkeror-git pcr/conkeror # and update it
Diffstat (limited to 'pcr')
-rw-r--r--pcr/conkeror/PKGBUILD46
-rw-r--r--pcr/conkeror/conkeror.install11
-rw-r--r--pcr/conkeror/conkeror.sh2
3 files changed, 59 insertions, 0 deletions
diff --git a/pcr/conkeror/PKGBUILD b/pcr/conkeror/PKGBUILD
new file mode 100644
index 000000000..e914cd153
--- /dev/null
+++ b/pcr/conkeror/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Ivy Foster <joyfulgirl@archlinux.us>
+# Maintainer (AUR): Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor (AUR): Heeru Kiyura <M8R-p9i5nh@mailinator.com>
+
+pkgname=conkeror
+pkgver=1.0pre.git140428.1.git25
+_gitver='commit=c5e640d874c65762c082430b42207bcafb58fda6'
+pkgrel=1
+pkgdesc="A highly programmable web browser based on Mozilla XULRunner."
+arch=('i686' 'x86_64')
+url="http://conkeror.org/"
+license=('MPL1.1' 'GPL2' 'LGPL2.1')
+depends=('xulrunner' 'desktop-file-utils')
+install=conkeror.install
+
+source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"
+ 'conkeror.sh')
+md5sums=('a59ddc563eb8de7e8be6465aa023102d'
+ '11c6c76a2639254754b34a542f1965a1')
+
+mkdepends=('git')
+mksource=("$pkgname-$pkgver::git://repo.or.cz/conkeror.git#${_gitver}")
+mkmd5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -d "$pkgdir"/usr/{bin,share/{man/man1,applications}}
+
+ cp -a . "$pkgdir"/usr/share/$pkgname
+
+ ln -srT "$pkgdir"/usr/share/$pkgname/contrib/man/conkeror.1 \
+ "$pkgdir"/usr/share/man/man1/$pkgname.1
+ ln -srT "$pkgdir"/usr/share/$pkgname/debian/conkeror.desktop \
+ "$pkgdir"/usr/share/applications/$pkgname.desktop
+ ln -srT "$pkgdir"/usr/share/$pkgname/conkeror-spawn-helper \
+ "$pkgdir"/usr/bin/conkeror-spawn-helper
+
+ install -Dm755 "$srcdir"/conkeror.sh "$pkgdir"/usr/bin/$pkgname
+}
diff --git a/pcr/conkeror/conkeror.install b/pcr/conkeror/conkeror.install
new file mode 100644
index 000000000..5e5cfef4d
--- /dev/null
+++ b/pcr/conkeror/conkeror.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+}
diff --git a/pcr/conkeror/conkeror.sh b/pcr/conkeror/conkeror.sh
new file mode 100644
index 000000000..963720513
--- /dev/null
+++ b/pcr/conkeror/conkeror.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec xulrunner /usr/share/conkeror/application.ini "$@"