git » libdaemon.git » main » tree

[main] / PKGBUILD

# 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=5
pkgdesc='Lightweight C library that eases the writing of UNIX daemons'
url='http://0pointer.de/lennart/projects/libdaemon/'
license=('LGPL')
arch=('x86_64' 'armv7h')
depends=('glibc')
makedepends=('git')
source=(http://0pointer.de/lennart/projects/libdaemon/libdaemon-${pkgver}.tar.gz)
sha512sums=('a96b25c09bd63cc192c1c5f8b5bf34cc6ad0c32d42ac14b520add611423b6ad3d64091a47e0c7ab9a94476a5e645529abccea3ed6b23596567163fba88131ff2')

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

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