summaryrefslogtreecommitdiff
path: root/extra/libdaemon/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2012-02-06 23:14:50 +0000
commit1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (patch)
tree8d7ccc2dc9d08a4c3cde26aa01c887e9a0fc2fa1 /extra/libdaemon/PKGBUILD
parentbdb5b3e66f6afa586ea147f69af5e4ba388f7615 (diff)
Mon Feb 6 23:14:50 UTC 2012
Diffstat (limited to 'extra/libdaemon/PKGBUILD')
-rw-r--r--extra/libdaemon/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
diff --git a/extra/libdaemon/PKGBUILD b/extra/libdaemon/PKGBUILD
index c6bbc1c9c..f12c1fa55 100644
--- a/extra/libdaemon/PKGBUILD
+++ b/extra/libdaemon/PKGBUILD
@@ -1,24 +1,28 @@
-# $Id: PKGBUILD 67404 2010-02-06 18:19:24Z giovanni $
+# $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
- make DESTDIR=$pkgdir install || 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
}