# $Id: PKGBUILD 197597 2013-10-27 14:10:21Z giovanni $ # Maintainer: Giovanni Scafora # Contributor: Henrik Ronellenfitsch # Contributor: Alessio Sergi # Contributor: Dario 'Dax' Vilardi # Contributor: Anatol Pomozov pkgname=amule pkgver=10808 pkgrel=2 pkgdesc="An eMule-like client for ed2k p2p network" arch=('i686' 'x86_64') url="http://www.amule.org" license=('GPL') depends=('wxgtk' 'gd' 'geoip' 'libupnp' 'crypto++') install=amule.install source=("http://amule.sourceforge.net/tarballs/aMule-SVN-r${pkgver}.tar.bz2" 'amuled.systemd' 'amuleweb.systemd') md5sums=('68099241871f4e47eee06bebc7ce20a1' '59772c41860e238f1c822feb8ca8d47f' '05975c5d94bfc41fddb894d98b1115d5') build() { cd "${srcdir}/aMule-SVN-r${pkgver}" ./configure --prefix=/usr \ --mandir=/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 \ --enable-upnp make } package() { cd "${srcdir}/aMule-SVN-r${pkgver}" make DESTDIR=${pkgdir} install install -D -m644 "${srcdir}/amuled.systemd" "${pkgdir}/usr/lib/systemd/system/amuled.service" install -D -m644 "${srcdir}/amuleweb.systemd" "${pkgdir}/usr/lib/systemd/system/amuleweb.service" }