[arch-commits] Commit in rarian/repos (3 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 20:57:49 UTC 2018


    Date: Friday, November 9, 2018 @ 20:57:49
  Author: felixonmars
Revision: 338493

archrelease: copy trunk to staging-x86_64

Added:
  rarian/repos/staging-x86_64/
  rarian/repos/staging-x86_64/PKGBUILD
    (from rev 338492, rarian/trunk/PKGBUILD)
  rarian/repos/staging-x86_64/user-segfault.patch
    (from rev 338492, rarian/trunk/user-segfault.patch)

---------------------+
 PKGBUILD            |   35 +++++++++++++++++++++++++++++++++++
 user-segfault.patch |   14 ++++++++++++++
 2 files changed, 49 insertions(+)

Copied: rarian/repos/staging-x86_64/PKGBUILD (from rev 338492, rarian/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-11-09 20:57:49 UTC (rev 338493)
@@ -0,0 +1,35 @@
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=rarian
+pkgver=0.8.1
+pkgrel=7
+pkgdesc="Documentation meta-data library, designed as a replacement for Scrollkeeper."
+arch=('x86_64')
+url="https://rarian.freedesktop.org/"
+license=('GPL')
+depends=('gcc-libs' 'sh')
+makedepends=('libxslt')
+source=(https://download.gnome.org/sources/${pkgname}/0.8/${pkgname}-${pkgver}.tar.bz2
+        user-segfault.patch)
+md5sums=('75091185e13da67a0ff4279de1757b94'
+         '457e9827197009cfa360911fe49a5ad7')
+sha256sums=('aafe886d46e467eb3414e91fa9e42955bd4b618c3e19c42c773026b205a84577'
+            '518b1834d4f44e92161f0cf2f72a6474f0ec687ea53562c64109df90d343fe71')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np0 -i ../user-segfault.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+     --localstatedir=/var --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: rarian/repos/staging-x86_64/user-segfault.patch (from rev 338492, rarian/trunk/user-segfault.patch)
===================================================================
--- staging-x86_64/user-segfault.patch	                        (rev 0)
+++ staging-x86_64/user-segfault.patch	2018-11-09 20:57:49 UTC (rev 338493)
@@ -0,0 +1,14 @@
+--- util/rarian-sk-get-cl.cpp~	2008-07-28 19:23:28.000000000 +0200
++++ util/rarian-sk-get-cl.cpp	2008-07-28 19:23:28.000000000 +0200
+@@ -160,6 +160,11 @@
+ {
+   char *filename = NULL;
+   char *user = getenv ("USERNAME");
++
++  if (user == NULL) {
++    user = getenv ("USER");
++  }
++
+   char *basepath = NULL;
+   int i=0;
+   int last = 0;


More information about the arch-commits mailing list