summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar2014-03-31 15:43:10 -0700
committeryar2014-03-31 15:43:10 -0700
commit06ee282cd0e2e9f6e4e2d4d8f7e76a7b5fcad769 (patch)
tree5bc854c1b320a0f390dc4c93e0aacc9b25b5287a
downloadaur-perl-captcha-recaptcha-mailhide.tar.gz
[perl-captcha-recaptcha-mailhide] Create new
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..021b117cae3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = perl-captcha-recaptcha-mailhide
+ pkgdesc = Perl Captcha::reCAPTCHA::Mailhide CPAN module
+ pkgver = 0.94
+ pkgrel = 1
+ url = http://search.cpan.org/dist/Captcha-reCAPTCHA-Mailhide/
+ arch = any
+ license = unknown
+ depends = perl
+ depends = perl-crypt-rijndael
+ depends = perl-html-tiny
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Captcha-reCAPTCHA-Mailhide-0.94.tar.gz
+ sha256sums = 904975cc274e6890df1348376d3d7ae99c2980f7e6f7a3fae4d518746686200f
+
+pkgname = perl-captcha-recaptcha-mailhide
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5eaa3de907f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Yardena Cohen <yardenack at gmail dot com>
+
+cpaname=Captcha-reCAPTCHA-Mailhide
+cpanauthor=ANDYA
+pkgname=perl-captcha-recaptcha-mailhide
+pkgver=0.94
+pkgrel=1
+pkgdesc="Perl Captcha::reCAPTCHA::Mailhide CPAN module"
+arch=('any')
+url="http://search.cpan.org/dist/${cpaname}/"
+license=('unknown')
+options=('!emptydirs')
+depends=('perl' 'perl-crypt-rijndael' 'perl-html-tiny')
+source=("http://search.cpan.org/CPAN/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
+sha256sums=('904975cc274e6890df1348376d3d7ae99c2980f7e6f7a3fae4d518746686200f')
+
+build() {
+ cd "${srcdir}/${cpaname}-${pkgver}"
+ perl Makefile.PL
+ make
+}
+
+check() {
+ cd "${srcdir}/${cpaname}-${pkgver}"
+ make test
+}
+
+package () {
+ cd "${srcdir}/${cpaname}-${pkgver}"
+ make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}