From 2dea939a03d9d14ce352eae63f7788f3262a3294 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 15:46:28 -0500
Subject: rarian .8.1

---
 abs/extra/rarian/PKGBUILD | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/abs/extra/rarian/PKGBUILD b/abs/extra/rarian/PKGBUILD
index b83caff..f6ddb58 100644
--- a/abs/extra/rarian/PKGBUILD
+++ b/abs/extra/rarian/PKGBUILD
@@ -1,18 +1,15 @@
-# $Id: PKGBUILD 11986 2008-09-06 21:33:59Z jgc $
+# $Id: PKGBUILD 137591 2011-09-09 23:51:24Z allan $
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 
 pkgname=rarian
 pkgver=0.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Documentation meta-data library, designed as a replacement for Scrollkeeper."
 arch=('i686' 'x86_64')
 url="http://rarian.freedesktop.org/"
 license=('GPL')
 depends=('gcc-libs')
 makedepends=('libxslt')
-conflicts=('scrollkeeper')
-provides=('scrollkeeper')
-replaces=('scrollkeeper')
 options=('!libtool')
 source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.8/${pkgname}-${pkgver}.tar.bz2
         user-segfault.patch)
@@ -20,10 +17,14 @@ md5sums=('75091185e13da67a0ff4279de1757b94'
          '457e9827197009cfa360911fe49a5ad7')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  patch -p0 -i ${srcdir}/user-segfault.patch || return 1
+  cd ${srcdir}/${pkgname}-${pkgver}
+  patch -p0 -i ${srcdir}/user-segfault.patch
   ./configure --prefix=/usr --sysconfdir=/etc \
-     --localstatedir=/var --disable-static || return 1
-  make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
+     --localstatedir=/var --disable-static
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${startdir}/pkg install
 }
-- 
cgit v0.12

