summaryrefslogtreecommitdiff
path: root/extra/gnet/PKGBUILD
blob: 8fce6824d42754b915b369b172a3a6b5d16ebab8 (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
# $Id: PKGBUILD 197240 2013-10-24 16:49:18Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=gnet
pkgver=2.0.8
pkgrel=4
pkgdesc="A simple network library"
arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/GNetLibrary"
license=('LGPL')
depends=('glib2')
source=(http://ftp.gnome.org/pub/GNOME/sources/gnet/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('74a33dd25cc594b874e3a5171795efd99e567387')

build() {
  cd ${pkgname}-${pkgver}
  LIBS+="-lglib-2.0" ./configure --prefix=/usr
  make
}

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