summaryrefslogtreecommitdiff
path: root/pcr/imule/PKGBUILD
blob: 097d0793b62828e553579b9c0e9d3cbb0d1971c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Black Dragon <blackdrg at i2pmail dot org>
# Contributor: atterratio <atterratio at gmail dot com>

pkgname=imule
pkgver=2.3.3.3
pkgrel=3
pkgdesc="Anonymous P2P file sharing software."
arch=("i686" "x86_64")
url="http://www.imule.i2p/"
license=("GPL")
depends=("wxgtk" "crypto++")
optdepends=("i2p: anonymous routing")
source=("https://echelon.i2p.us/imule/2.3.3.3/iMule-${pkgver}-src.tbz")
options=(!emptydirs) 
sha512sums=("b34f5d752b75632031d194666959bc323c745936c64c9944f4da419b365f8db079760f2e9282ab7b40978aa1179d89709b10864938d1c9f7fb3e007c8402f712")
whirlpoolsums=("e30cad778748dff90c3571ee10976b29da50df2e441808aa060a8dac8562506f5cc041dd2a8058a9830413d8d5dff1a0c79660ac247c2be0ef20bc83ae78ac3a")

build() {
	cd "${srcdir}/iMule-${pkgver}-src"
	sed "s/wxString::wxString/wxString/g" -i src/PrefsUnifiedDlg.cpp
	# See ./configure --help for more options, it may be necessary if you are using KDE or want to install additional utilities.
	./configure --prefix=/usr --disable-debug --enable-optimize --disable-ed2k \
	--enable-imule-gui --enable-imule-daemon --enable-utf8-systray --disable-maintainer-mode
	make
}

check() {
	cd "${srcdir}/iMule-${pkgver}-src"
	make -k check
}

package() {
	cd "${srcdir}/iMule-${pkgver}-src"
	make DESTDIR=${pkgdir} install
	rm ${pkgdir}/usr/share/applications/imulegui.desktop
}