summaryrefslogtreecommitdiff
path: root/community/gtk-gnutella/PKGBUILD
blob: 562ebbab1fb0d784a28ee14f3a171b97dfb7ac52 (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
# $Id: PKGBUILD 55800 2011-09-21 05:45:26Z ebelanger $
# Contributor: Dan McGee <dan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=gtk-gnutella
pkgver=0.97.1
pkgrel=1
pkgdesc="A Gnutella server/client"
arch=('i686' 'x86_64')
url="http://gtk-gnutella.sourceforge.net/"
license=('GPL')
depends=('gtk2')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('7ded76ca9892b58b0e9314ee563e4bae')
sha1sums=('14a4b5fd8c35cbed443e9997e55e44aafba05906')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i '/gnutls_transport_set_lowat(ctx->session, 0);/d' src/core/tls_common.c
  ./build.sh --prefix=/usr --gtk2 --disable-dbus
}

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