summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100755
index 00000000000..9b54d779a89
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Jonas Heinrich <onny@project-insanity.org>
+# Contributor: Jonas Heinrich <onny@project-insanity.org>
+
+pkgname=dokuwiki-plugin-captcha
+pkgver=2019.03.20
+pkgrel=1
+pkgdesc="Use a CAPTCHA challenge to protect DokuWiki against automated spam"
+arch=('any')
+url="http://www.dokuwiki.org/plugin:captcha"
+license=('GPL2')
+depends=('dokuwiki')
+makedepends=()
+options=('!strip')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/splitbrain/dokuwiki-plugin-captcha/archive/2019-03-20.tar.gz")
+sha512sums=('1b6788bdfbf68cbfe51e6ef65f9a266c3b5781e0b9d5a285fb41c9ebb646cc54f0af6d925c39a76127aaab8e5c2f1e1d324e474829b8452cc1a60c3b3d08df6c')
+
+package() {
+ install -d "${pkgdir}/usr/share/webapps/dokuwiki/lib/plugins"
+ cp -a "${srcdir}/dokuwiki-plugin-captcha-2019-03-20" "${pkgdir}/usr/share/webapps/dokuwiki/lib/plugins/captcha"
+}