Date: Saturday, April 25, 2020 @ 16:16:14 Author: anthraxx Revision: 620937
upgpkg: bettercap-caplets v20200413.r340.dba2ff0-1: fix caplets default path Fixes FS#62820 Modified: bettercap-caplets/trunk/PKGBUILD ----------+ PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-04-25 16:16:05 UTC (rev 620936) +++ PKGBUILD 2020-04-25 16:16:14 UTC (rev 620937) @@ -1,8 +1,8 @@ # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> pkgname=bettercap-caplets -pkgver=v20200110.r338.ed5a3de -_gitcommit=ed5a3de61e52e03897dd188c8af45fe5e4703845 +pkgver=v20200413.r340.dba2ff0 +_gitcommit=dba2ff08f0aed56ee81284a982ac9a04dec1c7c7 pkgrel=1 pkgdesc='Bettercap scripts (caplets) and proxy modules' url='https://github.com/bettercap/caplets' @@ -22,6 +22,11 @@ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd ${pkgname} + find . -type f -exec sed -i'' 's|/usr/local|/usr|g' {} + +} + package() { cd ${pkgname} install -d "${pkgdir}/usr/share/bettercap/caplets"
