summaryrefslogtreecommitdiff
path: root/pcr/roundcube-rcguard-plugin-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/roundcube-rcguard-plugin-git/PKGBUILD')
-rw-r--r--pcr/roundcube-rcguard-plugin-git/PKGBUILD32
1 files changed, 0 insertions, 32 deletions
diff --git a/pcr/roundcube-rcguard-plugin-git/PKGBUILD b/pcr/roundcube-rcguard-plugin-git/PKGBUILD
deleted file mode 100644
index d19298af7..000000000
--- a/pcr/roundcube-rcguard-plugin-git/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# Contributor: achterin
-# Maintainer : Parabola Aurélien Desbrières <aurelien@hackers.guru>
-
-pkgname=roundcube-rcguard-plugin-git
-_gitname=rcguard
-pkgver=47.baadec2
-pkgrel=1
-pkgdesc="Roundcube plugin that enforces reCAPTCHA for users that have too many failed logins"
-arch=('any')
-url="https://github.com/dennylin93/rcguard"
-license=('BSD')
-depends=('roundcubemail>=0.9.0')
-makedepends=('git')
-optdepends=('mysql'
- 'sqlite'
- 'postgresql')
-source=(git+https://github.com/dennylin93/rcguard.git)
-
-pkgver() {
- cd $_gitname
- echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
-}
-
-package() {
- _instdir=${pkgdir}/usr/share/webapps/roundcubemail/plugins
- install -dm755 ${_instdir}
- rm -r ${srcdir}/rcguard/.git
- cp -r ${srcdir}/rcguard ${_instdir}
-
- # fix all the 644 perms on files
- find ${_instdir} -type f -exec chmod 644 {} \;
-}