[arch-commits] Commit in bettercap-caplets/repos (2 files)
Levente Polyak
anthraxx at archlinux.org
Wed Mar 27 20:10:27 UTC 2019
Date: Wednesday, March 27, 2019 @ 20:10:26
Author: anthraxx
Revision: 444966
archrelease: copy trunk to community-any
Added:
bettercap-caplets/repos/community-any/
bettercap-caplets/repos/community-any/PKGBUILD
(from rev 444965, bettercap-caplets/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: bettercap-caplets/repos/community-any/PKGBUILD (from rev 444965, bettercap-caplets/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-03-27 20:10:26 UTC (rev 444966)
@@ -0,0 +1,30 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=bettercap-caplets
+pkgver=v20190327.r302.3b47dd6
+_gitcommit=3b47dd6c2f4f2bc87ddf3d536c6f4780ed6c245a
+pkgrel=1
+pkgdesc='Bettercap scripts (caplets) and proxy modules'
+url='https://github.com/bettercap/caplets'
+arch=('any')
+license=('GPL3')
+depends=('bettercap')
+makedepends=('git')
+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:
More information about the arch-commits
mailing list