From de4f0d5e3c54d11f8ef1fa859bc64089924b1bbc Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 26 May 2014 03:06:15 -0400 Subject: mv ~lukeshu/conkeror-git pcr/conkeror # and update it --- pcr/conkeror/PKGBUILD | 46 +++++++++++++++++++++++++++++++++++++++++++ pcr/conkeror/conkeror.install | 11 +++++++++++ pcr/conkeror/conkeror.sh | 2 ++ 3 files changed, 59 insertions(+) create mode 100644 pcr/conkeror/PKGBUILD create mode 100644 pcr/conkeror/conkeror.install create mode 100644 pcr/conkeror/conkeror.sh (limited to 'pcr') 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 +# Maintainer (AUR): Ivy Foster +# Maintainer (AUR): Stefan Husmann +# Contributor (AUR): Heeru Kiyura + +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 "$@" -- cgit v1.2.3-54-g00ecf