updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / gift-gnutella / PKGBUILD
blob11c828a2e580c2c8a1f85bb5fa228c0139ccd8e7
1 # Contributor: Kevin Piche <kevin@archlinux.org>
2 # Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
4 pkgname=gift-gnutella
5 pkgver=0.0.11
6 pkgrel=3
7 pkgdesc="GiFT's Gnutella plugin."
8 arch=(i686 x86_64)
9 url="http://gift.sourceforge.net"
10 license=('GPL')
11 depends=('gift' 'zlib')
12 options=(!libtool)
13 source=(http://downloads.sourceforge.net/sourceforge/gift/${pkgname}-${pkgver}.tar.bz2)
14 md5sums=('279c7dc0121b3b7e209b09c98d10f17f')
16 build() {
17   cd ${srcdir}/${pkgname}-${pkgver}
18   touch NEWS AUTHORS
19   ./configure --prefix=/usr|| return 1
20   make || return 1
21   make DESTDIR=${pkgdir} install || return 1
22   install -D -m644 data/Gnutella.conf ${pkgdir}/usr/share/giFT/Gnutella/Gnutella.conf
23   install -D -m644 data/hostiles.txt ${pkgdir}/usr/share/giFT/Gnutella/hostiles.txt