summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Bunkus2015-06-13 12:52:25 +0200
committerMoritz Bunkus2015-06-13 12:52:25 +0200
commita980d5044dbcab9ec21a874201f590a6c34fe2be (patch)
tree0ed34d0703cc47fb82d5684e2a32a18f7aba2e5f
downloadaur-a980d5044dbcab9ec21a874201f590a6c34fe2be.tar.gz
Initial import
-rw-r--r--.AURINFO14
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD46
3 files changed, 76 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..d7a30f43492
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,14 @@
+pkgbase = perl-eval-linenumbers
+ pkgdesc = Add line numbers to hereis blocks that contain perl source code
+ pkgver = 0.34
+ pkgrel = 2
+ url = http://search.cpan.org/dist/Eval-LineNumbers
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ source = http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Eval-LineNumbers-0.34.tar.gz
+ options = !emptydirs
+
+pkgname = perl-eval-linenumbers
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..2cb4ef1a208
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = perl-eval-linenumbers
+ pkgdesc = Add line numbers to hereis blocks that contain perl source code
+ pkgver = 0.34
+ pkgrel = 2
+ url = http://search.cpan.org/dist/Eval-LineNumbers
+ arch = any
+ license = GPL
+ license = PerlArtistic
+ depends = perl
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Eval-LineNumbers-0.34.tar.gz
+ md5sums = dc78f98c8de437a8cad2cd4236df68ed
+ sha512sums = db99b5c431c634142d6f0e030c332285ad8d40fbece7b12a57524d24e6fca6039203648a6112c065196ff2b85f031bc527ad444dbc4e369d2d65832744b7a053
+
+pkgname = perl-eval-linenumbers
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca8013bddf5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Moritz Bunkus <moritz@bunkus.org>
+
+pkgname=perl-eval-linenumbers
+pkgver=0.34
+pkgrel="2"
+pkgdesc="Add line numbers to hereis blocks that contain perl source code"
+arch=('any')
+url="http://search.cpan.org/dist/Eval-LineNumbers"
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Eval-LineNumbers-$pkgver.tar.gz")
+md5sums=('dc78f98c8de437a8cad2cd4236df68ed')
+sha512sums=('db99b5c431c634142d6f0e030c332285ad8d40fbece7b12a57524d24e6fca6039203648a6112c065196ff2b85f031bc527ad444dbc4e369d2d65832744b7a053')
+
+prepare_environment() {
+ export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+ cd "${srcdir}/Eval-LineNumbers-${pkgver}"
+}
+
+build() {
+ prepare_environment
+ /usr/bin/perl Makefile.PL
+ make
+}
+
+check() {
+ prepare_environment
+ make test
+}
+
+package() {
+ prepare_environment
+ make install
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et: