summaryrefslogtreecommitdiff
path: root/extra/libdaemon/PKGBUILD
blob: 0a48b22ba720ee1c4dc9098e91a50bc933069caa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 149075 2012-02-05 16:45:57Z bisson $
# Contributor: Manolis Tzanidakis
# Contributor: Mark Rosenstand <mark@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=libdaemon
pkgver=0.14
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' 'mips64el')
source=("http://0pointer.de/lennart/projects/libdaemon/${pkgname}-${pkgver}.tar.gz")
options=('!libtool')
sha1sums=('78a4db58cf3a7a8906c35592434e37680ca83b8f')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --localstatedir=/var --disable-lynx --disable-static
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}