summaryrefslogtreecommitdiff
path: root/community/gnunet-gtk/PKGBUILD
blob: e4270812d6b42b051e1f5a3c302873609b8f38ca (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
29
30
31
# $Id: PKGBUILD 59850 2011-12-01 08:07:01Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: wahnby <wahnby@yahoo.fr>

pkgname=gnunet-gtk
pkgver=0.9.0
pkgrel=1
pkgdesc="A frontend for GNUnet"
arch=('i686' 'x86_64')
url="http://gnunet.org"
options=('!libtool')
license=('GPL')
depends=('gnunet' 'glade' 'adns')
makedepends=('pkgconfig')
source=(ftp://ftp.gnu.org/gnu/gnunet/$pkgname-$pkgver.tar.gz
        drop_gtk2.patch)
md5sums=('5df53665628889a6a12d2bc323003f8d'
         'f709c0195beffd0ca64d498be83a118b')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i  $srcdir/drop_gtk2.patch
  autoreconf -fi
  ./configure --prefix=/usr --with-gnunet=/usr
  make
}

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