summaryrefslogtreecommitdiff
path: root/pcr/i2p/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/i2p/PKGBUILD')
-rw-r--r--pcr/i2p/PKGBUILD19
1 files changed, 6 insertions, 13 deletions
diff --git a/pcr/i2p/PKGBUILD b/pcr/i2p/PKGBUILD
index d91e23411..aa1f1b83f 100644
--- a/pcr/i2p/PKGBUILD
+++ b/pcr/i2p/PKGBUILD
@@ -7,7 +7,7 @@
#export LG2=en
pkgname=i2p
-pkgver=1.7.0
+pkgver=1.8.0
pkgrel=1
pkgdesc="A distributed anonymous network"
url="https://geti2p.net"
@@ -31,13 +31,9 @@ _url="https://files.i2p-projekt.de/${pkgver}"
source=("${_url}/i2psource_${pkgver}.tar.bz2"{,.sig}
'i2prouter.service' 'i2p.tmpfiles' 'wrapper.config' 'router.config'
- 'i2prouter.bash' 'i2prouter.sh' 'chromium-i2p.sh'
- speed_up_prng.patch
- update_firefox_useragent.patch
+ 'i2prouter.bash' 'i2prouter.sh' 'i2p.initd'
)
-source=( ${source[*]/chromium-i2p.sh/} )
-source+=(i2p.initd)
-sha256sums=('aa53591e89eacc3491ab472dc4df998780fb6747eea3b97ecb7a9f81ff2c9a5e'
+sha256sums=('525f2ad3267f130b81296b3dd24102fdcf2adf098d54272da4e1be4abd87df04'
'SKIP'
'644b771ec7f5db3efab3206bf1f896566cdb00d410a54608fda85bdb4c2ad876'
'fc30dd32f48fe1c93bf36c8297ca48203a1479e4e221ebe62c57cf3c3c0347d3'
@@ -45,15 +41,11 @@ sha256sums=('aa53591e89eacc3491ab472dc4df998780fb6747eea3b97ecb7a9f81ff2c9a5e'
'90f202e5b66d5a5b425522b409e71fb892d34c534e32ce2d6fe5284015cacf94'
'7a19b9f90c8792460fd58e8b8aa435a065e34d29a942479850472510e9d3078a'
'8d39f080c7a2e49226db3a785f3e18583159ef2f95e1ab467fd9984c4e38c9f5'
- '55b05dec917d5a55f2a7c3b76c5111d2cdbb3694968049fca5cdb089cb18e390'
- '70f2ada05fa56e06c7cfc107a87b327aa37683bd0c47f0cb5454c60105a71be8'
-)
-sha256sums+=('b9e490398732d3d3b0f5f0233adcb55030cf217e4fc2d2bbfe7cf5577aeb87bf')
+ 'b9e490398732d3d3b0f5f0233adcb55030cf217e4fc2d2bbfe7cf5577aeb87bf')
+
prepare() {
cd "$pkgname-$pkgver"
- patch -Np1 -i ../speed_up_prng.patch
- patch -Np1 -i ../update_firefox_useragent.patch
}
build() {
@@ -106,5 +98,6 @@ package() {
rm -r opt/i2p/{osid,postinstall.sh,runplain.sh,INSTALL-headless.txt,LICENSE.txt,licenses,man,lib/wrapper*}
# install an init script for openrc
+ # This should probably be moved into a split package
install -Dm755 "${srcdir}"/i2p.initd "${pkgdir}"/etc/init.d/i2p
}