summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryar2016-12-13 11:33:19 -0800
committeryar2016-12-13 11:36:47 -0800
commit3a530d3e114552f605b7c60fe591e56adfaf3243 (patch)
tree7c7d80e1acc170542d0e774c7a178dcbe94e23be
downloadaur-3a530d3e114552f605b7c60fe591e56adfaf3243.tar.gz
init Javascript-Packer 2.02
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD31
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a4e91c77ada
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Tue Dec 13 19:36:27 UTC 2016
+pkgbase = perl-javascript-packer
+ pkgdesc = Perl HTML::Packer CPAN module
+ pkgver = 2.02
+ pkgrel = 1
+ url = http://search.cpan.org/dist/JavaScript-Packer/
+ arch = any
+ license = unknown
+ depends = perl
+ options = !emptydirs
+ source = http://www.cpan.org/authors/id/L/LE/LEEJO/JavaScript-Packer-2.02.tar.gz
+ sha256sums = 8f673cacec2680520f94a95cd44639bc4587f260b07497772ffdaac83b945f6c
+
+pkgname = perl-javascript-packer
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..b4286bd700f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+JavaScript-Packer-*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c92baf1272a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Yardena Cohen <yardenack at gmail dot com>
+
+cpaname=JavaScript-Packer
+cpanauthor=LEEJO
+pkgname=perl-javascript-packer
+pkgver=2.02
+pkgrel=1
+pkgdesc="Perl HTML::Packer CPAN module"
+arch=('any')
+url="http://search.cpan.org/dist/${cpaname}/"
+license=('unknown')
+options=('!emptydirs')
+depends=('perl')
+source=("http://www.cpan.org/authors/id/${cpanauthor::1}/${cpanauthor::2}/${cpanauthor}/${cpaname}-${pkgver}.tar.gz")
+sha256sums=('8f673cacec2680520f94a95cd44639bc4587f260b07497772ffdaac83b945f6c')
+
+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}"
+}