summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrás Wacha2016-11-09 10:08:41 +0100
committerAndrás Wacha2016-11-09 10:08:41 +0100
commitc1e63a9d978172d52cf64f913c436a7498d29aea (patch)
tree22040c4478adf78507e039144fcab13819d38e41
downloadaur-c1e63a9d978172d52cf64f913c436a7498d29aea.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD50
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0bc4d61f024
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = perl-starlink-ast
+ pkgdesc = Interface to the Starlink AST library
+ pkgver = 1.05
+ pkgrel = 1
+ url = https://metacpan.org/release/Starlink-AST
+ arch = i686
+ arch = x86_64
+ license = PerlArtistic
+ license = GPL
+ checkdepends = perl-test-deep>=0
+ checkdepends = perl-test-number-delta>=0
+ depends = perl>=5.008
+ options = !emptydirs
+ source = http://search.cpan.org/CPAN/authors/id/T/TJ/TJENNESS/Starlink-AST-1.05.tar.gz
+ md5sums = 5ca28e250d2fa93882a03603547cb6d6
+ sha512sums = 9f1353c139cbecad4b468dbac73d27af53784ed0979fcd6dcb57277e1eae0d1f0d32d18dc4cf8d072b86e0534759c979e386ade809f75b0866a6afe953f00b31
+
+pkgname = perl-starlink-ast
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9537cc00198
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,50 @@
+# Contributor: Anonymous
+# Generator : CPANPLUS::Dist::Arch 1.32
+
+pkgname='perl-starlink-ast'
+pkgver='1.05'
+pkgrel='1'
+pkgdesc="Interface to the Starlink AST library"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('perl>=5.008')
+makedepends=()
+checkdepends=('perl-test-deep>=0' 'perl-test-number-delta>=0')
+url='https://metacpan.org/release/Starlink-AST'
+source=('http://search.cpan.org/CPAN/authors/id/T/TJ/TJENNESS/Starlink-AST-1.05.tar.gz')
+md5sums=('5ca28e250d2fa93882a03603547cb6d6')
+sha512sums=('9f1353c139cbecad4b468dbac73d27af53784ed0979fcd6dcb57277e1eae0d1f0d32d18dc4cf8d072b86e0534759c979e386ade809f75b0866a6afe953f00b31')
+_distdir="Starlink-AST-1.05"
+
+build() {
+ ( 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/$_distdir"
+ /usr/bin/perl Build.PL
+ /usr/bin/perl Build
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ /usr/bin/perl Build test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Build 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: