PKGBUILDs/community/gnunet/PKGBUILD
2009-10-09 21:15:33 -05:00

34 lines
1.1 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: wahnby <wahnby@yahoo.fr>
pkgname=gnunet
pkgver=0.8.0c
pkgrel=1
pkgdesc="A framework for secure peer-to-peer networking"
arch=('i686' 'x86_64')
url="http://gnunet.org"
options=('!libtool' '!makeflags' 'force')
license=('GPL')
depends=('gmp' 'libgcrypt' 'libextractor' 'sqlite3' 'guile' 'curl' 'libglade' 'adns')
makedepends=('gettext' 'pkgconfig')
source=(http://gnunet.org/download/GNUnet-$pkgver.tar.bz2 \
gnunet.rc \
gnunet.conf.d)
md5sums=('c98c4c8c538013f69e12e586c63b281e'
'0d62ab7f2a28af3ac082015696ee6ef3'
'f161b46915736e4017e77ad735521453')
build() {
cd $startdir/src/GNUnet-$pkgver
./configure --prefix=/usr --without-mysql
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m0755 $srcdir/gnunet.rc $pkgdir/etc/rc.d/gnunetd && \
install -D -m0644 $srcdir/gnunet.conf.d $pkgdir/etc/conf.d/gnunetd || return 1
rm -rf $pkgdir/usr/include/libltdl $pkgdir/usr/lib/libltdl.* $pkgdir/usr/include/ltdl.h
}