summaryrefslogtreecommitdiff
path: root/community/gnunet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnunet/PKGBUILD')
-rw-r--r--community/gnunet/PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/community/gnunet/PKGBUILD b/community/gnunet/PKGBUILD
index a7117f1e3..52487704d 100644
--- a/community/gnunet/PKGBUILD
+++ b/community/gnunet/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 43135 2011-03-24 08:18:05Z spupykin $
+# $Id: PKGBUILD 55840 2011-09-23 16:14:42Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: wahnby <wahnby@yahoo.fr>
pkgname=gnunet
-pkgver=0.9.0pre2
+pkgver=0.9.0pre3
pkgrel=1
pkgdesc="A framework for secure peer-to-peer networking"
arch=('i686' 'x86_64')
@@ -16,19 +16,19 @@ backup=(etc/gnunetd.conf)
options=('!libtool' '!makeflags')
source=(ftp://ftp.gnu.org/gnu/gnunet/gnunet-$pkgver.tar.gz
gnunet.rc
- gnunet.conf.d
- build-fix.patch)
-md5sums=('a4d0fad4f6fc6b520b3b73ee54167270'
+ gnunet.conf.d)
+md5sums=('34665809d6913a54547b19dcd260a951'
'0d62ab7f2a28af3ac082015696ee6ef3'
- 'f161b46915736e4017e77ad735521453'
- 'c646e634754e29004bb569873a270bf1')
+ 'f161b46915736e4017e77ad735521453')
build() {
cd $srcdir/gnunet-$pkgver
- unset LDFLAGS
- patch -p1 <$srcdir/build-fix.patch
[ -f Makefile ] || ./configure --prefix=/usr --without-mysql
make
+}
+
+package() {
+ cd $srcdir/gnunet-$pkgver
make DESTDIR=$pkgdir install
install -D -m0755 $srcdir/gnunet.rc $pkgdir/etc/rc.d/gnunetd
install -D -m0644 $srcdir/gnunet.conf.d $pkgdir/etc/conf.d/gnunetd