diff options
-rw-r--r-- | abs/extra/community/amule/PKGBUILD | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/abs/extra/community/amule/PKGBUILD b/abs/extra/community/amule/PKGBUILD index 3bb5c1b..47cc580 100644 --- a/abs/extra/community/amule/PKGBUILD +++ b/abs/extra/community/amule/PKGBUILD @@ -1,21 +1,23 @@ -# $Id: PKGBUILD 63810 2010-01-18 20:34:42Z ibiru $ +# $Id: PKGBUILD 98336 2010-11-07 18:59:29Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Henrik Ronellenfitsch <searinox@web.de> +# Contributor: Alessio Sergi <sergi.alessio {at} gmail.com> +# Contributor: Dario 'Dax' Vilardi <dax [at] deelab [dot] org> pkgname=amule -pkgver=2.2.6 -pkgrel=2 +pkgver=10365 +pkgrel=1 pkgdesc="An eMule-like client for ed2k p2p network" arch=('i686' 'x86_64') url="http://www.amule.org" license=('GPL') -depends=('wxgtk>=2.8.10.1' 'gd>=2.0.35' 'geoip') +depends=('wxgtk' 'gd' 'geoip' 'libupnp') makedepends=('crypto++') -source=(http://downloads.sourceforge.net/project/${pkgname}/aMule/${pkgver}/aMule-${pkgver}.tar.bz2) -md5sums=('530d9b48187e36f78fc21bb19e94326d') +source=(http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2) +md5sums=('fa19689a81616d066f8f7bdcddd771ac') build() { - cd ${srcdir}/aMule-${pkgver} + cd "${srcdir}/aMule-SVN-r${pkgver}" ./configure --prefix=/usr \ --mandir=/usr/share/man \ @@ -29,9 +31,14 @@ build() { --enable-webserver \ --disable-debug \ --enable-optimize \ - --enable-ccache \ - --enable-geoip + --enable-ccache \ + --enable-geoip \ + --enable-upnp make || return 1 +} + +package() { + cd "${srcdir}/aMule-SVN-r${pkgver}" make DESTDIR=${pkgdir}/ install || return 1 } |