summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKrzysztof (3ED) AS2015-07-02 10:03:49 +0200
committerKrzysztof (3ED) AS2015-07-02 10:03:49 +0200
commit09293ca464bc59b17788eee8800912662b9f9849 (patch)
tree57667ff3af529bdef98f59c18ae1dc3f3f9d9ae5 /PKGBUILD
downloadaur-09293ca464bc59b17788eee8800912662b9f9849.tar.gz
moving files, making space for additional scripts, aur4 and other stuff
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3e21529d75a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Mantainer: 3ED <krzysztof1987 at gmail dot com>
+
+pkgname=perl-datetime-format-atom
+_lastauthor=I/IK/IKEGAMI
+_pkgname=DateTime-Format-Atom
+pkgver=v1.0.2
+pkgrel=1
+pkgdesc="Parse and format Atom datetime strings"
+arch=('any')
+license=('CC0_1_0')
+options=('!emptydirs')
+depends=('perl-datetime-format-rfc3339')
+makedepends=('perl-extutils-makemaker')
+url="http://search.cpan.org/dist/${_pkgname}/"
+source=(http://search.cpan.org/CPAN/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
+sha256sums=('3707b1aa56d9b548a71982efdd6d379759e727265bc234dfc05246923f669070')
+
+build() {
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ perl Makefile.PL
+ make
+}
+check() {
+ cd ${_pkgname}-${pkgver}
+ make test
+}
+package() {
+ cd ${_pkgname}-${pkgver}
+ make install
+}
+