summaryrefslogtreecommitdiff
path: root/community/gnunet-gtk/PKGBUILD
blob: 73c7293fec14d00f12f5037d2890f21873236c3d (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 56777 2011-10-12 06:44:39Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: wahnby <wahnby@yahoo.fr>

pkgname=gnunet-gtk
pkgver=0.9.0pre3
pkgrel=3
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=('42f90a00aee541cef576ead682d7fb44'
         '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
}