From a4d47df007522722070e167a435398175a1ae162 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 26 Jan 2021 21:05:50 -0500 Subject: [imule]: sync with AUR - drop package from [pcr] the HTTP server hosting the source code for this package is offline it was apparently the only upstream host source code may be acquired now, only via the IP2 network these changes (synced from AUR) attempt to accomplish that; but i did not try it i scanned the parabola source archives, in attempt to rescue this package; but did not find a source-ball for these reasons, i have deleted the parabola binary package --- pcr/imule/PKGBUILD | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) (limited to 'pcr/imule/PKGBUILD') diff --git a/pcr/imule/PKGBUILD b/pcr/imule/PKGBUILD index 8d7635699..4ec2055ca 100644 --- a/pcr/imule/PKGBUILD +++ b/pcr/imule/PKGBUILD @@ -1,18 +1,34 @@ -# Maintainer: Black Dragon -# Contributor: atterratio +# Maintainer (aur): Que Quotion +# Contributor (aur): Black Dragon +# Contributor (aur): atterratio + +# NOTE: this PKGBUILD requires I2P to be running on the local machine pkgname=imule pkgver=2.3.3.3 -pkgrel=3 -pkgdesc="Anonymous P2P file sharing software." +pkgrel=5 +pkgdesc="Anonymous P2P file sharing software" arch=("i686" "x86_64") +arch+=("armv7h") url="http://www.imule.i2p/" license=("GPL") -depends=("wxgtk" "crypto++") +depends=("wxgtk2" "crypto++") optdepends=("i2p: anonymous routing") -source=("https://echelon.i2p.us/imule/2.3.3.3/iMule-${pkgver}-src.tbz") -options=(!emptydirs) -sha512sums=("b34f5d752b75632031d194666959bc323c745936c64c9944f4da419b365f8db079760f2e9282ab7b40978aa1179d89709b10864938d1c9f7fb3e007c8402f712") + +# Does this even work? +source=("http://echelon.i2p/imule/2.3.3.3/iMule-${pkgver}-src.tbz" + binutils-update.patch) +export http_proxy=127.0.0.1:4444 + +# Use a libmakepkg plugin for i2p +#source=("i2p+http://echelon.i2p/imule/2.3.3.3/iMule-${pkgver}-src.tbz" +# binutils-update.patch) + +prepare() { + cd "${srcdir}/iMule-${pkgver}-src" + sed -i 's/pubkey.DEREncode(asink);/pubkey.AccessMaterial().Save(asink);/g' src/ClientCreditsList.cpp + patch -Np0 < ../binutils-update.patch +} build() { cd "${srcdir}/iMule-${pkgver}-src" @@ -31,5 +47,6 @@ check() { package() { cd "${srcdir}/iMule-${pkgver}-src" make DESTDIR=${pkgdir} install + #It's hack. If U know best way to not instal this desktop file tell me. rm ${pkgdir}/usr/share/applications/imulegui.desktop } -- cgit v1.2.2