[arch-commits] Commit in bettercap-caplets/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Apr 25 16:16:18 UTC 2020
Date: Saturday, April 25, 2020 @ 16:16:18
Author: anthraxx
Revision: 620939
archrelease: copy trunk to community-any
Added:
bettercap-caplets/repos/community-any/PKGBUILD
(from rev 620938, bettercap-caplets/trunk/PKGBUILD)
Deleted:
bettercap-caplets/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 38 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-25 16:16:14 UTC (rev 620938)
+++ PKGBUILD 2020-04-25 16:16:18 UTC (rev 620939)
@@ -1,33 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgname=bettercap-caplets
-pkgver=v20200110.r338.ed5a3de
-_gitcommit=ed5a3de61e52e03897dd188c8af45fe5e4703845
-pkgrel=1
-pkgdesc='Bettercap scripts (caplets) and proxy modules'
-url='https://github.com/bettercap/caplets'
-arch=('any')
-license=('GPL3')
-depends=('bettercap')
-makedepends=('git')
-optdepends=(
- 'java-runtime: java caplets'
-)
-source=(${pkgname}::"git+https://github.com/bettercap/caplets#commit=${_gitcommit}")
-sha512sums=('SKIP')
-
-pkgver() {
- cd ${pkgname}
- printf "v%s.r%s.%s" "$(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD)" \
- "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
-package() {
- cd ${pkgname}
- install -d "${pkgdir}/usr/share/bettercap/caplets"
- cp -r . "${pkgdir}/usr/share/bettercap/caplets"
- rm -r "${pkgdir}/usr/share/bettercap/caplets/"{.git,.gitignore,Makefile,README.md,LICENSE.md}
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: bettercap-caplets/repos/community-any/PKGBUILD (from rev 620938, bettercap-caplets/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-25 16:16:18 UTC (rev 620939)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=bettercap-caplets
+pkgver=v20200413.r340.dba2ff0
+_gitcommit=dba2ff08f0aed56ee81284a982ac9a04dec1c7c7
+pkgrel=1
+pkgdesc='Bettercap scripts (caplets) and proxy modules'
+url='https://github.com/bettercap/caplets'
+arch=('any')
+license=('GPL3')
+depends=('bettercap')
+makedepends=('git')
+optdepends=(
+ 'java-runtime: java caplets'
+)
+source=(${pkgname}::"git+https://github.com/bettercap/caplets#commit=${_gitcommit}")
+sha512sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ printf "v%s.r%s.%s" "$(TZ=UTC git show -s --pretty=%cd --date=format-local:%Y%m%d HEAD)" \
+ "$(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"
+ cp -r . "${pkgdir}/usr/share/bettercap/caplets"
+ rm -r "${pkgdir}/usr/share/bettercap/caplets/"{.git,.gitignore,Makefile,README.md,LICENSE.md}
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list