From c57769ced7e8d1e9e4849f78af0924e7ae32b3d6 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Tue, 7 Aug 2012 09:44:25 -0500
Subject: libdaemon 0.14

---
 abs/core/libdaemon/PKGBUILD | 29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)

diff --git a/abs/core/libdaemon/PKGBUILD b/abs/core/libdaemon/PKGBUILD
index 73427b8..f12c1fa 100644
--- a/abs/core/libdaemon/PKGBUILD
+++ b/abs/core/libdaemon/PKGBUILD
@@ -1,27 +1,28 @@
-# $Id: PKGBUILD 67398 2010-02-06 16:22:40Z thayer $
+# $Id: PKGBUILD 149075 2012-02-05 16:45:57Z bisson $
 # Contributor: Manolis Tzanidakis
-# Contributor: Mark Rosenstand &lt;mark@archlinux.org&gt;
-# Maintainer: Thayer Williams &lt;thayer@archlinux.org&gt;
+# Contributor: Mark Rosenstand <mark@archlinux.org>
+# Contributor: Thayer Williams <thayer@archlinux.org>
+# Maintainer: Gaetan Bisson <bisson@archlinux.org>
 
 pkgname=libdaemon
 pkgver=0.14
-pkgrel=1
-pkgdesc="A lightweight C library which eases the writing of UNIX daemons"
-url="http://0pointer.de/lennart/projects/libdaemon/"
+pkgrel=2
+pkgdesc='Lightweight C library that eases the writing of UNIX daemons'
+url='http://0pointer.de/lennart/projects/libdaemon/'
 license=('LGPL')
 arch=('i686' 'x86_64')
-depends=('glibc')
-source=(http://0pointer.de/lennart/projects/libdaemon/$pkgname-$pkgver.tar.gz)
+source=("http://0pointer.de/lennart/projects/libdaemon/${pkgname}-${pkgver}.tar.gz")
 options=('!libtool')
-md5sums=('509dc27107c21bcd9fbf2f95f5669563')
+sha1sums=('78a4db58cf3a7a8906c35592434e37680ca83b8f')
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --localstatedir=/var --disable-lynx || return 1
-  make || return 1
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr --localstatedir=/var --disable-lynx --disable-static
+	make
 }
+
 package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install || return 1
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
 }
 
-- 
cgit v0.12

