1 # Maintainer: Gavin <gav616 at gmail dot com>
3 pkgname=amule-remotegui-git
6 pkgdesc='An eMule-like P2P client, focusing on the bleeding edge experimental aMuleGUI and aMuleD'
8 url="http://www.amule.org"
10 depends=('wxgtk>=2.8.10.1' 'binutils' 'geoip')
11 makedepends=('git' 'crypto++' 'ccache')
12 conflicts=('amule' 'amule-adnza' 'amule-adnza-svn' 'amule-devel' 'amule-dlp' \
13 'amule-dlp-gcc4.5' 'amule-remote' 'amule-remote-cvs' 'amule-remote-upnp' \
14 'amule-remote-upnp-svn' 'amule-upnp')
15 provides=('amule=2.2.6')
16 source=('amule.conf' 'amuled')
17 backup=('etc/conf.d/amule.conf')
18 install='amule.install'
19 options=('!docs' 'ccache')
20 md5sums=('ff70a948f71ec7af26652dfcf6432e7d'
21 'a0a4e769e859a1c6680d420d57dba111')
23 _gitroot="git://repo.or.cz/amule.git"
27 echo -e '\E[37;44m'"\033[1m
28 If using 'makepkg' please don't use the cleanup option (makepkg -c),
29 it will delete the build directory which defeats the object of using GIT.\033[0m"
33 msg "Connecting to 'repo.or.cz' GIT server...."
35 if [ -d $startdir/src/$_gitname ] ; then
36 cd $_gitname && git-pull origin
37 msg "The local files are updated."
39 git clone --depth 1 $_gitroot $_gitname
42 msg "GIT checkout done or server timeout"
43 msg "Starting make..."
45 cp -r $startdir/src/$_gitname $startdir/src/$_gitname-build
46 cd $startdir/src/$_gitname-build
48 ./configure --prefix=/usr \
49 --disable-monolithic \
50 --enable-amule-daemon \
60 --disable-plasmamule \
61 --disable-kde-in-home \
67 --enable-ccache || return 1
71 make DESTDIR=$pkgdir install || return 1
73 install -D -m755 $startdir/amuled $pkgdir/etc/rc.d/amuled
74 install -D -m644 $startdir/amule.conf $pkgdir/etc/conf.d/amule.conf