diff options
author | GI_JACK | 2019-11-12 19:53:12 -0500 |
---|---|---|
committer | GI_JACK | 2019-11-12 19:53:12 -0500 |
commit | 30c5c292f2ca2173efe44721075392ec4dc251d5 (patch) | |
tree | 5088c3b3c748669fa79eda2a348ba638ff2caaf8 | |
parent | f6895b08b6baa711bc4b4c00111799004a526dcf (diff) | |
download | aur-i2p-plugin-neodatis.tar.gz |
updated install paths for new i2p dirs
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | neodatis.install | 9 |
3 files changed, 16 insertions, 5 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Mon Apr 11 01:23:37 UTC 2016 +# Mon Apr 11 16:14:42 UTC 2016 pkgbase = i2p-plugin-neodatis pkgdesc = Some I2P middleware for seedless pkgver = 2.1_2.14_209_17 - pkgrel = 1 + pkgrel = 2 url = http://i2pwiki.i2p/index.php?title=Plugins + install = neodatis.install arch = any groups = i2p-plugins license = WTFPL @@ -8,7 +8,7 @@ _pluginame=neodatis pkgname=i2p-plugin-${_pluginame} pkgver=2.1_2.14_209_17 -pkgrel=1 +pkgrel=2 pkgdesc="Some I2P middleware for seedless" arch=('any') url="http://i2pwiki.i2p/index.php?title=Plugins" @@ -20,6 +20,7 @@ provides=('i2p-neodatis') # get this from http://sponge.i2p/files/seedless/01_neodatis.xpi2p source=("file://01_${_pluginame}.xpi2p") noextract=("file://01_${_pluginame}.xpi2p") +install="${_pluginame}.install" sha256sums=('3af50cb8d735b1ef0077789d6c1ea438735b1caef59bfbfdfd443fc3623e64be') prepare() { @@ -36,7 +37,7 @@ prepare() { } package() { cd "${srcdir}" - mkdir -p "${pkgdir}/opt/i2p/.i2p/plugins/" - cp -Ra "i2p" "${pkgdir}/opt/i2p/.i2p/plugins/01_${_pluginame}" + mkdir -p "${pkgdir}/opt/i2p/plugins/" + cp -Ra "i2p" "${pkgdir}/opt/i2p/plugins/01_${_pluginame}" } diff --git a/neodatis.install b/neodatis.install new file mode 100644 index 000000000000..afd0f4b29269 --- /dev/null +++ b/neodatis.install @@ -0,0 +1,9 @@ +post_install() { + post_upgrade +} + +post_upgrade() { + systemd-tmpfiles --create i2prouter.conf + chown -R i2p:i2p /opt/i2p/plugins/01_neodatis + chmod 700 /opt/i2p/plugins/01_neodatis +} |