[arch-commits] Commit in (6 files)

Kyle Keen kkeen at archlinux.org
Wed Sep 23 21:52:34 UTC 2015


    Date: Wednesday, September 23, 2015 @ 23:52:34
  Author: kkeen
Revision: 141551

pkginit: xombrero 1.6.4

Added:
  xombrero/
  xombrero/repos/
  xombrero/trunk/
  xombrero/trunk/LICENSE
  xombrero/trunk/PKGBUILD
  xombrero/trunk/xombrero.install

------------------+
 LICENSE          |   16 ++++++++++++++++
 PKGBUILD         |   43 +++++++++++++++++++++++++++++++++++++++++++
 xombrero.install |   12 ++++++++++++
 3 files changed, 71 insertions(+)

Added: xombrero/trunk/LICENSE
===================================================================
--- xombrero/trunk/LICENSE	                        (rev 0)
+++ xombrero/trunk/LICENSE	2015-09-23 21:52:34 UTC (rev 141551)
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) 2010 Marco Peereboom <marco at peereboom.us>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+

Added: xombrero/trunk/PKGBUILD
===================================================================
--- xombrero/trunk/PKGBUILD	                        (rev 0)
+++ xombrero/trunk/PKGBUILD	2015-09-23 21:52:34 UTC (rev 141551)
@@ -0,0 +1,43 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+
+pkgname=xombrero
+pkgver=1.6.4
+pkgrel=3
+pkgdesc="A minimalists web browser, vi-like but with traditional web browser behavior."
+arch=('i686' 'x86_64')
+url="https://opensource.conformal.com/wiki/xombrero"
+_watch="https://opensource.conformal.com/snapshots/xombrero/"
+license=('custom:ISC')
+depends=('webkitgtk3' 'libbsd' 'desktop-file-utils')
+install=xombrero.install
+replaces=('xxxterm')
+conflicts=('xxxterm')
+options=('!emptydirs')
+source=(https://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \
+        LICENSE)
+md5sums=('3c5458e448314494f48784c6303a695c'
+         'f3eeb6e8b70a3dcccb8ee57daf584c9e')
+
+build() {
+    cd "$srcdir/$pkgbase-$pkgver"
+    # no spam
+    sed -i 's|https://www.cyphertite.com|https://www.archlinux.org|' xombrero.{c,conf,h}
+    # relocations
+    sed -i 's|/etc/ssl/cert.pem|/etc/ssl/certs/ca-certificates.crt|' xombrero.conf
+    #sed -i 's|/usr/local/share/xombrero/style.css|/usr/share/xombrero/style.css|' xombrero.conf
+    sed -i 's|/usr/local/share/|/usr/share/|' {unix.c,xombrero.conf,xombrero.h}
+
+    make PREFIX="/usr" -C linux GTK_VERSION=gtk3
+}
+
+package() {
+    cd "$srcdir/$pkgbase-$pkgver"
+
+    mkdir -p "$pkgdir/usr/share/applications/"  # buggy makefile
+    make PREFIX="/usr" DESTDIR="$pkgdir" install -C linux GTK_VERSION=gtk3
+    install -Dm644 xombrero.conf     "$pkgdir/etc/skel/.xombrero.conf"
+    install -Dm644 xombrero.desktop  "$pkgdir/usr/share/applications/xombrero.desktop"
+    install -Dm755 config-checker.pl "$pkgdir/usr/bin/config-checker.pl"
+    install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+


Property changes on: xombrero/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: xombrero/trunk/xombrero.install
===================================================================
--- xombrero/trunk/xombrero.install	                        (rev 0)
+++ xombrero/trunk/xombrero.install	2015-09-23 21:52:34 UTC (rev 141551)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}
+



More information about the arch-commits mailing list