gtk/amule/PKGBUILD

45 lines
1.2 KiB
Bash

pkgname=amule
pkgver=10803
pkgrel=1
pkgdesc="An eMule-like client for ed2k p2p network"
arch=('x86_64')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++' 'filesystem-extra')
makedepends=('ccache')
source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2"
"http://chakra.sourceforge.net/sources/oxygen-themes/aMule_Oxygen_Skin.zip")
md5sums=('febf14f5b1185f25acde64f61b78ed38'
'9c1c06c1f7eaffd5dd383b7e0348b6db')
build() {
cd "${srcdir}/aMule-SVN-r${pkgver}"
./configure --prefix=/extra/usr \
--mandir=/extra/usr/share/man \
--enable-cas \
--enable-wxcas \
--enable-amule-daemon \
--enable-amulecmd \
--enable-amule-gui \
--enable-alc \
--enable-alcc \
--enable-webserver \
--disable-debug \
--enable-optimize \
--enable-ccache \
--enable-geoip \
--disable-plasmamule \
--enable-upnp
make
}
package() {
cd "${srcdir}/aMule-SVN-r${pkgver}"
make DESTDIR=${pkgdir}/ install
cp -f $srcdir/aMule_Oxygen_Skin.zip $pkgdir/extra/usr/share/amule/skins/
}