diff options
Diffstat (limited to 'extra/gnet/PKGBUILD')
-rw-r--r-- | extra/gnet/PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/extra/gnet/PKGBUILD b/extra/gnet/PKGBUILD index 57d8c4268..74f641527 100644 --- a/extra/gnet/PKGBUILD +++ b/extra/gnet/PKGBUILD @@ -1,13 +1,12 @@ -# $Id: PKGBUILD 1327 2008-05-05 00:54:40Z eric $ -# Maintainer: Eric Belanger <eric@archlinux.org> -# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# $Id: PKGBUILD 122722 2011-05-06 08:12:47Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=gnet pkgver=2.0.8 -pkgrel=1 -pkgdesc="GNet is a simple network library" +pkgrel=2 +pkgdesc="A simple network library" arch=('i686' 'x86_64' 'mips64el') -url="http://www.gnetlibrary.org/" +url="http://live.gnome.org/GNetLibrary" license=('LGPL') depends=('glib2') options=('!libtool') @@ -16,8 +15,12 @@ md5sums=('93327d2fca333d7e54ba2cf54e071165') sha1sums=('74a33dd25cc594b874e3a5171795efd99e567387') build() { - cd ${startdir}/src/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr - make || return 1 - make DESTDIR=${startdir}/pkg install + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } |