summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/conkeror-git/PKGBUILD35
-rw-r--r--pcr/conkeror-git/conkeror-git.install (renamed from pcr/conkeror/conkeror.install)0
-rw-r--r--pcr/conkeror/PKGBUILD46
-rw-r--r--pcr/conkeror/conkeror.sh2
4 files changed, 35 insertions, 48 deletions
diff --git a/pcr/conkeror-git/PKGBUILD b/pcr/conkeror-git/PKGBUILD
new file mode 100644
index 000000000..4219fc569
--- /dev/null
+++ b/pcr/conkeror-git/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor (Arch): Ivy Foster <joyfulgirl@archlinux.us>
+# Contributor (Arch): Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor (Arch): Heeru Kiyura <M8R-p9i5nh@mailinator.com>
+# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname=conkeror-git
+pkgver=120527.1.225.gc57b7be
+pkgrel=1
+pkgdesc="A highly programmable web browser based on Mozilla XULRunner."
+arch=('i686' 'x86_64')
+url="http://conkeror.mozdev.org/"
+license=('MPL' 'GPL' 'LGPL')
+depends=('xulrunner' 'desktop-file-utils')
+makedepends=('git')
+provides=(conkeror)
+install=conkeror-git.install
+source=('git://repo.or.cz/conkeror.git')
+md5sums=('SKIP')
+_gitname="conkeror"
+
+pkgver() {
+ cd $_gitname
+ git describe --always|sed -e 's/debian.*+git//' -e 's/-/./g'
+}
+
+build() {
+ cd $_gitname
+ make PREFIX=/usr
+}
+
+package() {
+ cd $_gitname
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ rm -f "$pkgdir"/usr/share/doc/conkeror/COPYING
+}
diff --git a/pcr/conkeror/conkeror.install b/pcr/conkeror-git/conkeror-git.install
index 5e5cfef4d..5e5cfef4d 100644
--- a/pcr/conkeror/conkeror.install
+++ b/pcr/conkeror-git/conkeror-git.install
diff --git a/pcr/conkeror/PKGBUILD b/pcr/conkeror/PKGBUILD
deleted file mode 100644
index d7f1068e4..000000000
--- a/pcr/conkeror/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
-# 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' 'mips64el')
-url="http://conkeror.org/"
-license=('MPL1.1' 'GPL2' 'LGPL2.1')
-depends=('xulrunner' 'desktop-file-utils')
-install=conkeror.install
-
-source=("https://repo.parabola.nu/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.sh b/pcr/conkeror/conkeror.sh
deleted file mode 100644
index 963720513..000000000
--- a/pcr/conkeror/conkeror.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-exec xulrunner /usr/share/conkeror/application.ini "$@"